lavf: add support for error_recognition, use it in avidec, and bump minor API version