Fail an assertion if halide_malloc returns non-null.