Ticket 48233 - Server crashes in ACL_LasFindFlush during
shutdown if ACIs contain IP addresss restrictions
Bug Description: The server will crash at shutdown if there are ACI's that use IP rules.
Fix Description: When we stop the acl plugin we need to free aci avl list first, before
we free the libaccess ACL global lists. Otherwise, we dereference a freed
struct.
https://fedorahosted.org/389/ticket/48233
Reviewed by: nhosoi(Thanks!)
(cherry picked from commit 22d315b910b086d3e7edca3b6b52511d5da63802)
(cherry picked from commit 57c5d35b4a5ea3e85ae2a7471cbe487531ee3835)