bluetooth: fix typo checking if target codec is available

A2DP switch-codec command implementation must check if target codec is good,
not the one we want to switch from.

Part-of: <pulseaudio/pulseaudio!518>
3 jobs for pr/fix-a2dp-codec-switch-target-availability-check in 5 minutes and 11 seconds (queued for 1 second)