[kodi/f28] Move order of globals so source test on ffmpeg works