CVE-2024-49950 Bluetooth: L2CAP: Fix uaf in l2cap_connect