Fix GraphicsMagick problem

Overwriting gm with return from subClass fixes the imageMagick not found errors, when imageMagick is actually installed.