cmRulePlaceholderExpander: Extract from cmLocalGenerator

Implement cmLocalGenerator::ExpandRuleVariables in terms of the new
class for source compatibility and to reduce diff noise in this commit.
1 job for extract-cmVariableExpander
Status Job ID Name Coverage
  External
passed kwrobot-commit-check