Statistical homogenization of random porous media