Allow openchange to work with old ldb/tdb backends

This is only needed when upgrading from Zentyal 3.3 to zentyal 3.4

We also need this on master