ResRef object: allow assignment of NULL

fixes crash on BG1 load