Don't set -fsanitize=undefined in debug mode.

This doesn't seem to work any more with latest XCode.
Relates salilab/imp#789.