Move unused variable inside HAVE_SHADER_MANAGER ifdef