[PATCH 6.1 098/164] counter: 104-quad-8: Fix race condition between FLAG and CNTR reads