winsys/amdgpu: clear the buffer cache on allocation failure and try again