A positivity-based approach to delay-dependent stability of systems of second order equations