gh-86009: Fix solaris detection in _USE_CP_SENDFILE check
#124289
Merged
_USE_CP_SENDFILE check
#124289