Allow subclass checkAndSetVolume in libhardware_legacy

Change-Id: I92e6764ed3e577115ca2e051e69625dc1b2b9f02