[openEuler-5.10 132/150] riscv: mmap with PROT_WRITE but no PROT_READ is invalid