Perl: Fix compiler warnings on sizeof(IV) != sizeof(void*) archs