[PATCH openEuler-1.0-LTS 3/3] dm cache: fix potential out-of-bounds access on the first resume