Avoid many "unused variable" warnings in Release builds for variable that is used only in asserts.