configure: probe_cc: use separate variable for linker output flag