Updating syntax for travis allowed_failures

Using new travis syntax for allowed_failures in the travis.yml for jruby-head

Issue being tracked in
https://github.com/jruby/jruby/issues/1913