guard created values from being optimized out (bnc#895964)

if you are brave enough you can try it. For me better way is to use same fix as sqlite and try it in openqa