GROOVY-5922: CompileStatic: long loses type when bitwise OR applied to i...

...t