macOS: Account for deployment target when checking for utimensat
The SDK for macOS 10.13 adds utimensat, but the symbol is not
available at runtime on older macOS versions. Check the deployment
target before using the symbol.
Issue: cmake/cmake#17101 (closed)