avpicture: Suppress warning from deprecated code