GROOVY-6034: Fixed assignment of null to primitive boolean not reported as an error