[FFI] Specifically check handle for recursion during shutdown (#8548)
[FFI] Specifically check handle for recursion during shutdown (#8548)

NOTE: previously slot may get overriden by child class and it
is better to directly check for handle here.
dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm