Finite-size scaling and exchange-bias in SrRuO3/LaNiO3/SrRuO3 trilayers