Finite surgeries on three-tangle pretzel knots