[PATCH v5] riscv: selftests: Fix warnings pointer masking test