proper fix for debugger domain bug

based on Lluis' feedback on https://github.com/mono/debugger-libs/pull/13