[PATCH v5 08/17] riscv: cpufeature: Extract common elements from extension checking