[Thread] add aconfig_declarations for Thread module API flags

This is required to included Thread module APIs in DP2 release.
See ag/26286387

Bug: 325886480
Ignore-AOSP-First: cherry pick of aosp/2968065
Change-Id: I79be1b48058ce6fb08149e18cdd7a5f5b0762769
1 file changed