[build-xbmc-addons.sh] fix xbmc-platform version extraction