[U-Boot] [PATCH v4 14/19] image: Move hash checking into its own function