Bug 996077 - Null-check |holder|, and warn if SetWeakMapEntry fails. r=bz