printf's %p format specifier expects an argument of type void-pointer, not type PyThreadState*. Fix this with a static_cast.
I assume this is just to supress the warning from GCC. LGTM
Closed by commit rL213695 (authored by @majnemer).