Add functions psf_get_be(16|32|64) with tests.

These are needed for platforms where un-aligned accesses cause bus
faults.
ALAC/ : Replace all un-aligned accesses with safe alternatives.