[PATCH v6 09/17] riscv: Convert xandespmu to use the vendor extension framework