make fsync, fdatasync, and msync cancellation points these are mandatory cancellation points per POSIX, so their omission was a conformance bug.
include cleanups: remove unused headers and add feature test macros
global cleanup to use the new syscall interface
initial check-in, version 0.5.0