[TVM] Fix build and sync with caffe2/caffe2/python/dlpack.h (#40888)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/40888
Reviewed By: yinghai
Differential Revision: D22326379
fbshipit-source-id: 96ffcff5738973312c49368f53f35bf410e4c0c9