[PATCH 4.14 083/209] powerpc/xmon: fix dump_segments()