Introduce LLVM intrinsic lvm.dx.resource.getdimensions and lower it to DXIL operation op.dx.getDimensions. The intrinsic will be used to implement various GetDimension overload on resources.
Related proposal: llvm/wg-hlsl#346
https://godbolt.org/z/bz7zxsf5n