eal: add API to lock/unlock mempool list