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