Dominant influence of the compression effect of a magnetic flux in the intergranular medium of a granular high-temperature superconductor on dissipation processes in an external magnetic field