Fix "warning: binary constants are a GCC extension".

Change the binary constants to hex.