xml dump: Fixed segfault when dumping symboldatabase variables