erts: Use tsd data as NULL and to lots of fixed
erts: Use global check for msacc and add managed thread only interface
erts: Specialize set and get state