[ffmpegthumbs] Improve compatibility with new CMake macro