Fix `frontend` deprecation warnings in several examples
Merge pull request #3647 from mspacek/frontend

Update `frontend` imports in several examples