libav{vid|aud}dec: Implement `GST_QUERY_ACCEPT_CAPS` handler on sink pad
Some decoders have restrictions which can't be expressed solely by pad template caps (like the AAC decoder).
They should therefore have a GST_QUERY_ACCEPT_CAPS
handler which instantiates a AVCodec
with the specified caps to check if it can really handle them.