src: fix nullptr access on realm
Adding the per-realm binding data tracking introduced a call to a realm method when realm was potentially null. This is triggered whenever the function is called from ContextifyContext::New
which passes nullptr
as the realm
.