[PATCH V3] riscv: patch_text: Fixup last cpu should be master