Buffer: Fix segfault in resize()