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