debugger: get working under FPGA 1.18

We add a small delay to eim_set_direction() to allow the direction
change to propagate.
sd: add print_hex_offset

This evolution of print_hex allows you to specify an offset for the
printed hex dump.
debugger: add basic nand utilities

Add functions to read and monitor the status of the NAND logger.