Ising Critical Behavior of Inhomogeneous Curie-Weiss Models and Annealed Random Graphs