Fixed -Z print-link-args

This resolves issue #8569