Fixed an issue where resize would not scale up an image if only given width

The existing code would output the following:
gmObj.resize(345) => "-resize 345x"
which does not scale up the image to 345 pixels if the image is smaller than 345 pixels in width

The proper behavior that this patch implements is:
gmObj.resize(345) => "-resize 345"
which will scale up the image