[U-Boot] [PATCH v4 16/42] common: Move serial functions out of common.h