RISC-V: Removed the redundant NULL pointer check in the riscv_update_subset.