recordmcount: Fix endianness handling bug for nop_mcount