Gets the allocator and params from config.
| config |
a BufferPool configuration |
| allocator |
a Allocator, or null |
| params |
AllocationParams, or null |
|
true, if the values are set. |