fix logic error in location_set:empty

See here. https://gna.org/bugs/?21659

From a quick grep in /data, it seems that this function is not being used in any mainline lua right now.