[PATCH 6.13 244/274] iavf: Fix a locking bug in an error path