[x86] Sink a variable only used by asserts into the asserts. Should fix
some -Werror bots, sorry for the noise.