Add C code to NoneTypeT and fix MaxAndArgmax c_code to work with it.