[libfat] Use intptr_t rather than the default int for funcs in fatfile.

Makes it 64-bit safe too.