s4:dsdb/ldb_modules: avoid invalid pointer type warnings