GROOVY-7184: Type checker incorrectly allows assignment to interface because of RHS implements map