lavc: reimplement avcodec_get_name with descriptors.