Overcoming error-in-variable problem in data-driven model discovery by orthogonal distance regression