[U-Boot] [PATCH v3 17/21] sandbox: Refactor code to create os_jump_to_file()