PROTON-765: Fix Ruby's support for 64-bit values on 32-bit systems

Changed NUM2ULONG to NUM2ULL to properly use unsigned long long ints for
64-bit values.