Fix deprecation warnings when building the CUPS print backend
We're using deprecated API, and the warnings make it harder to see if something else is broken in the build.
We're using deprecated API, and the warnings make it harder to see if something else is broken in the build.