alsa-lib: Add -DTERMUX_SEMOPS_STUBS (fixes #797)