mlab.griddata() more robust check for constant spacing

This avoids the floating point issues referenced in https://github.com/matplotlib/matplotlib/issues/666