[NPU] Fix coverity issues (#35334)
### Details:
-
### Tickets:
- *E-194204*
- *C-174925*
### AI Assistance:
- *AI assistance used: no / yes*
- *If yes, summarize how AI was used and what human validation was
performed (build/tests/manual checks).*
---------
Signed-off-by: alexandruenache1111 <alexandru.enache@intel.com>