Fix typo in endian swap

The loop is extremely simple; the intent is to go through each element
in the list and reverse the bytes of each one separately. That's it. The
index is supposed to be i, not 0.