Fix getting rosters in mod_shared_roster_ldap

Fix for esl/MongooseIM#227