avprobe: add const to AVCodec pointer