Sir Henry Moore, Governor of New York