preprocessor: fix remove unused variables algorithm
preprocessor: fix remove unused variables algorithm

The remove unused variables must clean current unused_variable during
the cleanup.

quesnel/baryonyx,quesnel/baryonyx,quesnel/baryonyx