cmdutils: only use libavresample when it is enabled