Adsorption of a hard sphere fluid in a slitlike pore filled with a disordered matrix by the inhomogeneous replica Ornstein-Zernike equations