POSIX ftruncate calls should be #ifdef'd HAVE_FTRUNCATE
https://github.com/wiredtiger/wiredtiger/pull/2975