GROOVY-7140: Optimize coercions in case both operands are of primitive type