[PATCH v6 07/24] RISC-V: Use the minor version mask while computing sbi version