workaround clang deficiency affecting thread pointer access on powerpc
workaround clang deficiency affecting thread pointer access on powerpc

based on patch by Richard Pennington, who initially reported the
issue.

chardi/musl,chardi/musl,chardi/musl