Save the relevent register (tpidrurw for arm, tpidr for arm64) in
mcontext_t in an existing spare slot. Define a new _MC_TLS_VALID flag
set in mc_flags to indicate when the new register field is valid. To
simplify freebsd32 support, this flag uses the same value on both
platforms even though 32-bit arm doesn't use bit 0 of the flags field.
Note that the flags field had to be added on 32-bit arm using a second
spare slot.
Reported by: jrtc27