[PATCH openEuler-5.10 088/236] firmware: fix theoretical UAF race with firmware cache and resume