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