Effect of geometrical imperfections on swelling-induced buckling patterns in gel films with a square lattice of holes