RISC-V: Make mmap() with PROT_WRITE imply PROT_READ