Add backwards READ compatibility for the old libcontainer API

Addendum to #6785

Docker-DCO-1.1-Signed-off-by: Tibor Vass <teabee89@gmail.com> (github: tiborvass)