Handle old versions of the libcontainer config.

Libcontainer recently changed its config by changing the type of a
field. This commit tries parsing the config as the new and old types.