[U-Boot] [PATCH v2 19/23] sandbox: Refactor code to create os_jump_to_file()