Remove given/when in favour of if/else

When waiting on ffmpeg and mplayer to complete.  given/when has
had a bad reputation since shortly after being introduced, and
in recent Perl releases is triggering warnings about its
experimental nature.