[PATCH 5.14 108/334] firmware: fix theoretical UAF race with firmware cache and resume