Add jruby-18mode to allow_failures.

It is broken with Dir.mktmpdir which is used in tests.