[PATCH v3 08/17] riscv: Introduce vendor variants of extension helpers