libavfilter/af_amix: avoid derreferencing possible null