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