gfs2_edit: handle corrupt file systems better
This patch adds some checks to gfs2_edit so that it will not segfault
when it encounters certain types of file system corruption. This makes
it a more useful tool for examining corrupt metadata sets.
rhbz#656371