[PATCH v5] usb: core: Prevent null pointer dereference in update_port_device_state