Utility to print hex values for debugging