Error codes are normally defined as hex numbers in header files, so changing the assert macro to print them as hex as well.