Home Sports Messi scores late free-kick as Barcelona overcome Alaves