Real-time x-ray scattering study of growth behavior of sputter-deposited LaNiO_3 thin films on Si substrates