Fix version for releases, also show it before git commit

For releases version output is:
mpv 0.1.1 (C) 2000-2013 mpv/MPlayer/mplayer2 projects

When building from git:
mpv 0.1.1-git-d892236 (C) 2000-2013 mpv/MPlayer/mplayer2 projects