c++-mode/fori: improve snippet by using C++11 "auto" keyboard

Hi João Távora,

I just improved a c++-mode snippet "fori" to use a C++11 keyword "auto". Please let me know if my change is acceptable.

Thank you