A Long-Period Jupiter-Mass Planet Orbiting the Nearby M Dwarf GJ 849