manual cherry pick of 8a19e2740cc500f467d737179f2d3f82b6af68d9,  use obj...

...ectid for equality and hashing

see also: https://github.com/mono/debugger-libs/pull/15