Use __declspec(thread) instead of Tls/Fls functions in WinRT and WinPRT

The Fls* family of functions is supported in Windows Store apps but not
in Windows Phone apps, however __declspec(thread) works in both so let's
use that instead.