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