Also fixes some bugs in storing exclusions in
symbol fields and children.
Also fixes some bugs in checking for resolved text
variables in symbol children.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18279
Also, handle the possiblity that we return NULL when calling
DeserializeFromString in the case where we don't handle all cases or the
file is corrupted