Revert "Support vectors with custom allocators."

This reverts commit 9d9c87742f78208ea77d02bc8911c1281382ec70.

This is not needed anyway, and default template arguments to function
templates are only supported by GCC in C++11 mode which we currently do
not enable by default.