Fix ndebug-build unused variable in loop rerolling