PR #9045: Add size for CudaCubinInMemory
PR #9045: Add size for CudaCubinInMemory

Imported from GitHub PR https://github.com/openxla/xla/pull/9045

This is a sub PR to add SPIR target in openxla.
`CudaCubinInMemory` is an object represents compiled binary for different backends. `char* bytes` is enough for cuda backend, but spir requires additional `int size` to load the binary.
Copybara import of the project:

--
59270e8c02438425e508067aeb92da828630bdcc by Sheng, Yang <yang.sheng@intel.com>:

Add size for CudaCubinInMemory

Merging this change closes #9045

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/openxla/xla/pull/9045 from Intel-tensorflow:yang/cubin 59270e8c02438425e508067aeb92da828630bdcc
