Exclude m_terminalPanel references when built on Windows
Fixes an issue reported by elvisangelaccio at https://phabricator.kde.org/D9955