Fix null deref in demangle loop for java classes (thanks l0gic!)