Competition between ferromagnetism and superconductivity in GdBa2Cu3O7-x/La0.7Sr0.3MnO3 bilayers with varying thickness