Use pkg-config to determine FFmpeg linker flags (for Debian, see #758337)