texture-cache: Fix compile warning