Adds volatile to loop variables in kvazaar tests in order to fix "might be clobbered by ‘longjmp’ or ‘vfork’" warnings when building with -O3.