Linear openness of the composition of set-valued maps and applications to variational systems