Bulk viscosity-driven suppression of shear viscosity effects on the flow harmonics at energies available at the BNL Relativistic Heavy Ion Collider