[PATCH v5 1/4] powerpc/crash: sort crash memory ranges before preparing elfcorehdr