Fixed bad NamedScopeReference.Dispose(bool) implementation

The function would call Dispose into the scope object during a gargabe
collection, which it shouldn't.

Signed-off-by: Peter Strøiman <peter.stroeiman@falck.dk>