[CMAKE] Fix symbol table stripping (#34890)
### Details:
- '-s' has no effect on a compilation step
### Tickets:
- *ticket-id*
### AI Assistance:
- *AI assistance used: no / yes*
- *If yes, summarize how AI was used and what human validation was
performed (build/tests/manual checks).*
<!-- Message of single commit: -->