serial_core.c: add put_device() after device_find_child()