args: Different geometry formatting for GM

If only the width is specified for a resize operation,
GraphicsMagick requires the format `-resize 10x`
while ImageMagick requires the format `-resize 10`