Dimensional effects on the structure and magnetic properties of GdMnO3 thin films