[TRANSFORMATIONS][CPU][GPU] Remove redundant Transpose operations in plugins. (#35427)
### Details:
Replace non-executable Transpose operations with Reshape during model
compilation.
<img width="710" height="439" alt="image"
src="https://github.com/user-attachments/assets/583e2447-80a5-4288-a097-c73d6beb8e0d"
/>
### Tickets:
[CVS-183796](https://jira.devtools.intel.com/browse/CVS-183796)
[CVS-183797](https://jira.devtools.intel.com/browse/CVS-183797)
### AI Assistance:
- *AI assistance used: yes*
- *Tests development.*
---------
Co-authored-by: Andrii Staikov <andrii.staikov@intel.com>