[PATCH 06/19] riscv: Extend cpufeature.c to detect vendor extensions