predict fix to work for both h2o.prc and h2o.prcomp