Fix _STAT_VER in some Linux systems

The _STAT_VER used in the __xstat64(), __lxstat64(), and __fxstat64() functions
is wrong in some Linux systems. This patch calls one of these functions in
order to determine the correct value.