[PATCH 6.1 331/417] riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings