cairo: Enable quartz image surface support when building without x11