Skip finalizer test on JRuby

The finalizer cannot be reliably triggered inside the test method on JRuby
(and it is hard to do even on other rubies).
Do not tell JRuby to use object space