Fixed NamedScopeReference.Dispose(bool)

The function would call Dispose into the scope object during a garbage collection, which it shouldn't.

There is probably also an issue with DisposeNotifyingObject.Dispose(bool).

Signed-off-by: Peter Strøiman <peter.stroeiman@falck.dk>