Competition of spatially inhomogeneous phases in systems with nesting-driven spin-density wave state