In the test that tests -optP -C, also pass -optP -ffreestanding

This closes #3389, and makes the testsuite go through again.