Ensure volume control is supported before setting it.

This returns false in OpenJDK/pulseaudio.