Scans num1, starting with bit start, towards more significant bits, until the first set bit is found.
The number to scan.
A GMP object, an int or a numeric string.
The starting bit.
Returns the index of the found bit, as an int. If no set bit is found, -1 is returned.