wayland: Don't leak the existing texture if we already have one

We were missing a check in ensure_buffer_texture that checked if we
already had a CoglTexture bound for the buffer.