[U-Boot] [PATCH v3 05/16] main: Move boot_delay code into its own function