GROOVY-6929: Fix NPE with map constructor calls and setter only