Fix serialization of code instances. (#46373)
If they are encountered in a Julia object directly, as opposed to
e.g. during serialization of a method instance, we'll have first
populated the backref table as part of jl_serialize_value, so we
need to skip that check during code instance serialization.