Fix completely broken logic about the size of the kernel binary in the cuda backend.

This makes retriveing the kernel binary using ops->kernel_binary() on the cuda backend:
- not useless / wrong
- not a potential source of crashes