Changing debug_switcher for printing digits in hexadecimal form in right order

Signed-off-by: Stefan Manea <fanymanea@gmail.com>