Anomalous electrical resistivity of thin gadolinium films