fix interaction of -S and -x {c,c++}-header