Address thread identification problems with coroutine

If we implement it using an intrinsic, (e.g. marked nounwind readnone willreturn), then no special behavior will need to be implemented for coroutines. Fixing readnone handling in coroutines then automatically fixes TLS access as well.