[x86] Clean up some unused variables, especially in release builds.