A little simplify Ninja code for linker commands.

Use GetCreateRuleVariable function instead of redundant code for Rule variable name.
Use temporary variables to improve code.
Merge topic 'simplify-ninja-linker-command' into next

eac635da A little simplify Ninja code for linker commands.