Revert "Set tls->context.valid to FALSE if a thread is suspended in native code. Fixes #1540."

This reverts commit 5ddbe31ee5c42f5e379cb077e3473667791bc15a.

Revert this as its incorrect, and causes a regression (#14058).