Allow failures in jruby-head

Related to #12294

CC: @guilleiguaran