GridType: use IJ.macroRunning(), not IJ.isMacro()

Fixes #1.

Thanks to Niko Ehrenfeuchter for reporting the issue, Wayne Rasband
for suggesting the fix, and Stephan Preibisch for testing it!