strip short command line options that require an argument

these don't work because the flag and argument get separated; user must use the --long-option=flag style
fix bug with Canny

Thanks to @neiljamieso for spotting this.

fixes AccelerateHS/accelerate#106