wave: avoid unused var for older gstreamer versions