add int32_t conversion to Variants

Primarily solves compilation for Imagick, but should prevent a lot more
complaining on OS X in the future since we prevent confusion on what to
do with unsigned types that aren't 64bit.