Fix a couple of endianness bugs that crept in.

Signed-off-by: Ingo Molnar <mingo@kernel.org>