[core] Migrate leftovers of Core ctor implementation (#33611)
### Details:
- change type of `m_plugin_path` to `std::filesystem::path`
- `get_directory()` returns the current directory if there is no
parent_path
### Tickets:
- [CVS-178043](https://jira.devtools.intel.com/browse/CVS-178043)