Weakly linear systems for matrices over the max-plus quantale