add O_PATH/O_SEARCH support to fcntl.h