Fix arrays with overridden each

Fix a stack overflow in Array#all (https://github.com/jruby/jruby/issues/1265) and restore the correct behavior for Array#any (the needed isBuiltin check was incorrectly removed in https://github.com/jruby/jruby/pull/1234)

Also add a spec to ensure this remains stable going forward.