binder: Add an API to check if the threadpool has been started

Libraries that require the threadpool can check this to make sure the
threadpool has been started before it is needed.

Test: atest binderLibTest
Bug: 261652496
Change-Id: I7505319f162e2789dcc3c41bf1f7535c5c1bb9d9
6 files changed