The endianness problem spoken about in r586 does not exist since the value in pn53x_get_reg() is in a register so keep the ugly boolean operations to copy the value: using all endianness conversions macros is a PITA.
- Add a test case to confirm an endianness problem on little-endian machines.
- While here, add assertions, enhance slightly the code and decrease the number of loop turns.