[PATCH 6.2 106/173] counter: 104-quad-8: Fix race condition between FLAG and CNTR reads