gstplayer: fix deadlock when changing the volume on linux / pulseaudio. Closes #2454