[PATCH v5 07/10] riscv: selftests: Add a pointer masking test