Fix for division by zero error

Changing the gain on a TVRX connected to USRP1 was causing a floating point exception.
This fix prevents a division by zero error.