Magnetic compressibility of layered ferromagnet under pressure