This fixes the following errors when building with gcc7:
- /home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/scopes/audioscopes/spectrogram.cpp:244:113: error: call of overloaded 'abs(unsigned int)' is ambiguous
fixed by casting leftDist to int
- /home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp: In constructor 'ProfileTreeModel::ProfileTreeModel(QObject*)': /home/abuild/rpmbuild/BUILD/kdenlive-17.04.1/src/profiles/tree/profiletreemodel.cpp:146:21: error: 'function' is not a member of 'std'
fixed by adding a missing "#include <functional>"
BUG: 375647
BUG: 379688