Convert hex string to int32 with 0x (C