Add additional linkflags for no-rtti, no-except runs of config_test.

This copies the additional `<linkflags>` to the no-RTTI and no exceptions runs of `config_test`, as the test results show failures related to a missing `-lpthread` or `-lrt`.