CEO Mary Barra said GM has contingency plans ready for if tariffs are levied on auto parts and vehicles coming into the U.S.