This is, in a sense, a related fix to D13564. For certain special relocations, such as R_PPC64_TOC, there is no actual corresponding symbol in the object file. In these cases Obj.getRelocationSymbol will return nullptr.
This allows us to produce shared libraries from PPC64 object files. I've yet to verify that the resulting behavior is completely correct, but in the name of incremental progress, at least we won't segfault.