cmGeneratorTarget: Refactor usage requirement genex evaluation
Evaluate usage requirement generator expressions fully before entering
the processing loops. This allows us to evaluate and collect all
entries up front and then have only one call to the loop over them.
This also allows
AddInterfaceEntries to immediately evaluate the
generator expressions it synthesizes, which will enable later
Also perform a few minor cleanups.