[PATCH 4.14 26/28] counter: 104-quad-8: Fix race condition between FLAG and CNTR reads