Add assert that the avcodec lock is held when initializing static VLC tables.