SAN FRANCISCO (Reuters) - Microsoft Corp is to give away its Windows operating system to makers of smartphones and small tablets as it seeks to make more of an impact on those fast-growing markets and counter the massive success of Google Inc's free Android platform.