Fix problem arising in ESMPy tests with numpy v1.7.

Replaces https://github.com/SciTools/iris/pull/1023
(now targetting 1.6.x)

See discussions on earlier PR