Testing general relativity with gravitational-wave catalogs: The insidious nature of waveform systematics