Fix stat.st_gid on FreeBSD 10 (applying push request jnr-ffi/18).