[PATCH 6.1 087/217] usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps