Riemannian metrics having common geodesics with Berwald metrics