[Core] Add pid to generateTestFilePrefix (#35913)
### Details:
- Bit paranoic fix for test filename generation, to protect several
tests on one machine
- continuation of https://github.com/openvinotoolkit/openvino/pull/35867
### Tickets:
- no
### AI Assistance:
- AI assistance used: yes
- Code generated with AI