Fix FreeBSD test failure due to the use of an incorrect guard clause. This commit reapplies an existing PR upstream: https://github.com/jnr/jnr-ffi/pull/19