eal: add option to limit memory allocation on sockets