Gravitational instability and its scaling relation of a partially miscible two‐component system in a porous medium