fix dump memory problem

fix Structure.toString because it dumped memory when jna.dump_memory was false