Permeability of compacting porous lavas