Fix broken mapnik compile against cairo/cairomm after #17032

Fixes https://github.com/mapnik/mapnik/issues/1753