[openEuler-5.10-LTS 053/501] media: [PATCH] pci: atomisp_cmd: fix three missing checks on list iterator