LibJIT: Fix 32-bit build

Cast through the integer of an appropriate size. This still generates
a 64-bit ELF image.