Currently there's no way to tell ghostscript to not link against libcairo if it is installed on the system, following patch adds an enable/disable configure option.
Created attachment 4264 [details] ghostscript-gpl-8.63-cairo-automagic.patch
I've committed a version of this (with a help string) in r8964.