[PATCH v6 04/24] drivers/perf: riscv: Use BIT macro for shifting operations