cairo: check earlier for IntPtr.Zero in Dispose(bool) method

This prevents applications spam the console by printing CairoDebug
messages about objects that can't be disposed or were already
disposed.