Fix Shape op C code for unknown types.