Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error