[PATCH openEuler-23.09 v2 03/24] thread: move thread bits accessors to separated file