[U-Boot] [PATCH v4 4/9] main: Move boot_delay code into its own function