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