Use byte literals in libcore
Remove cast to char in libserialize::hex