avcodec/pthread_frame: remove unused variable