C#: Add null check before calling UnregisterGodotObject
#79151
Merged
UnregisterGodotObject
#79151