[U-Boot] [PATCH v2 26/31] dm: serial: Separate out the core serial-device finding code