Fix hex data display, and improve portability

1) When displaying hex data, utilfdt_print_data indexes a uint32_t
pointer with a byte counter incremented in fours, resulting in
incorrect output.

2) Remove the double parentheses around two comparisons in checks.c,
and put an explicit "=" in the TN() macro in accordance with c99.