Sort and deduplicate cfg flags.

Bug: 293289578
Test: Ran on atomic crate.
Change-Id: Ifc7292ebcb641b6f2258492734e87035893a42bd
1 file changed