[erlang/el6] - Fix segfault due memory corruption when reading topology info (#958953)