Implement fpgetmask, it's needed by Python.
Approved by: ABT Systems Ltd Sponsored by: The FreeBSD Foundation