[U-Boot] [PATCH v2 2/8] console: Fix handling of NULL global_data