NY judge gives ex-Guatemala president prison