lavc/utils: move avcodec_init() higher in the file.