[PATCH 5.10 111/530] firmware: xilinx: Fix dereferencing freed memory