motion_est: fix ffmpeg compilation with DEBUG defined