Add function to convert a 4-byte value to its 8-digit hex representation