Gérard de Rayneval, J.-M. (Joseph-Mathias), 1736-1812