NCR hires general counsel exec