Merge "Add init_first_stage to riscv64"