[PATCH 6.12 098/422] platform/x86: serdev_helpers: Check for serial_ctrl_uid == NULL