MNT: Add guards for out-of-bounds -f and -g parameters
Passing a negative value for -f
results in bet_main_parameter
evaluating to nan
. This results in a seg fault on Intel Linux and macOS. For unknown reasons, bet will run to completion on macOS M1, but the result will not be brain extracted.