[PATCH 6.1 507/591] riscv: move memblock_allow_resize() after linear mapping is ready