fix stupid bug in updating of O_ACCMODE for O_SEARCH support
[musl] / src / thread / syscall_cp.c