Influence of lateral boundaries on the Eckhaus instability in anisotropic pattern-forming systems