include: avoid using C++ 'template' reserved word (fixes #1394)

'template' is a reserved keywork in C++, so including uv.h into a C++ file would fail to compile. This pull request fixes that.