Refactored the _GetLinkerFlags rule.

_GetLinkerFlags now uses two by-ref variables to return values, instead
of one by-ref value and the return value from the rule.