Grad–Shafranov reconstruction of the magnetic configuration in the reconnection X-point vicinity in compressible plasma