Made prep_serializer noht use allocate_buffer.
Removed allocate_buffer call in SerializerTest.
Removed serializer_t::allocate_buffer.