[PATCH 5.15 66/86] tools/nolibc: fix the O_* fcntl/open macro definitions for riscv