Detect and use fstat64() when sizeof (off_t) == 4.

Still have a problem of 32 bit systems where sizeof (off_t) == 4
and fstat64() doesn't exist (eg Android). In this case it will just
fail to work correctly at run time. This is bad.