GROOVY-5941: Fix VerifyError if calling a protected method of the owner from a closure