Bug 1057082 - Part 2 - Fix JitcodeGlobalEntry comparison function and add helper debug methods. r=luke