Critical porosity of gas enclosure in polar firn independent of climate