[PATCH 5.10 265/717] ath10k: Release some resources in an error handling path