GROOVY-7210: The type checker doesn't check for getAt/putAt for primitive arrays if the index type is boxed