remove trailing slashes from RIOTBASE variables

addresses https://github.com/RIOT-OS/RIOT/pull/496#issuecomment-32170092