BUG: Fix native byteorder check for trivial loops