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