[PATCH v3 1/4] xaudio2/tests: Add a couple of helpers to abstract the difference between versions.