[sink-input-ext] Free state hook slot only if slot exists.
[sink-input-ext] Free state hook slot only if slot exists.

Fixes assert on module unload.

alinelena/pulseaudio-policy-enforcement,alinelena/pulseaudio-policy-enforcement