libsmb: Fix a "assuming signed overflow does not occur" error