Fix recursive endpoint registration
Fix recursive endpoint registration

After introduction of reference counting, an adapter object can be
removed if no one is using it. Hence, we can not rely on the memory
address of this structure during comparison.

Arkq/bluez-alsa,Arkq/bluez-alsa,Arkq/bluez-alsa