Fix compilation warnings.
Compilation warnings:
/home/rongtao/Git/IO-Visor/bcc/src/cc/bpf_module_rw_engine.cc:60:22: warning: ‘llvm::LoadInst* llvm::IRBuilderBase::CreateLoad(llvm::Value*, bool, const llvm::Twine&)’ is deprecated: Use the version that explicitly specifies the loaded type instead [-Wdeprecated-declarations]
60 | return B.CreateLoad(addr, isVolatile);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
/home/rongtao/Git/IO-Visor/bcc/src/cc/bpf_module_rw_engine.cc:75:29: warning: ‘llvm::Value* llvm::IRBuilderBase::CreateInBoundsGEP(llvm::Value*, llvm::ArrayRef<llvm::Value*>, const llvm::Twine&)’ is deprecated: Use the version with explicit element type instead [-Wdeprecated-declarations]
75 | return B.CreateInBoundsGEP(ptr, idxlist);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
See llvm-project https://github.com/llvm/llvm-project/commit/
f95d26006e0641385565774ca4b560cc72a84e2f
[IRBuilder] Deprecate CreateInBoundsGEP() without element type
llvm branch: release/13.x