[jsk_rviz_plugins] Fix segv diagnostics display

fix segv problem of diagnostics display plugin