Collective effects in the system of structural defects in homoepitaxial GaN grown on porous substrates