It's really up to the dealer you rely on to do service work.
No part can void a warranty until something breaks that was caused by that part. If a piston ring goes in your engine, for example...the dealer would have to connect that failure to the headers. Or they could choose to cover it.