Create version specific coroutine decorators

Don't check the Python version on each iteration.  I haven't measured whether
it makes any difference performance-wise but it sure is less ugly.