llvmtexture: code cleanups after rebase

latest