Refactor out the comparison of the location/value in a DebugLocEntry
Remove unused function DebugLocEntry::isEmpty