General Motors is recalling certain models of its Cadillac and Chevrolet Camaro vehicles over an issue with the transmission.