Allow for changing the default maximum size of buffer memory from config

For the current implementation of memory management, the maximum
amount of memory exported by each uio devices must be fixed at
compilation time.
This allows the maximum size to be specified at config time.