Drop va_copy as it not fully portable.

Also drop max_size() method of POOL_MEM and use size() method.
Rebuild configure and config.h.in