Cristiano Ronaldo scored twice to seal a 2-1 win for Real Madrid against Sporting Gijon as the hosts moved seven points clear at the top of La Liga.