Moved checks for repeated gradient out of gradient-creation methods
Will ease factorizing of common code between PDF and PostScript


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP-2393_gradient-rendering@1609527 13f79535-47bb-0310-9956-ffa450edef68