[configure] use pkg-config for rtmp detection. fixes linking with newer librtmp versions