GROOVY-6108: NPE may occur when using the null-safe operator on the LHS of an == comparison