[PATCH OLK-6.6 v2 03/31] thread: move thread bits accessors to separated file