Add `CollectiveOpHandleBase` to compatible with GPU and CPU.
Created by: gongweibao
Add CollectiveOpHandleBase
to compatible with:
- Compilation under GPU running under GPU
- Compilation under GPU running under CPU
- Compilation under CPU running under CPU