[PATCH 4.14 007/176] scripts/recordmcount.pl: support big endian for ARCH sh