src/gfxcore.cc: Fix the conditions on which "Cancel measuring line"
is enabled - previously it was hard to actually cancel it via the
menu.  Reported by Hugh St Lawrence.