PROV-1019 Fix quality issue with rotate transformation in GD and GraphicsMagick plugins