gallium: Make sure to release texture surfaces (at the right time).