In situ ac magnetic susceptibility of gadolinium thin films