make: allow setting RIOT_VERSION externally

Allows for reasonable size comparisons between branches.

Also fix indentation
Maybe add `2> /dev/null` to suppress
```
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
```
?

But ACK whether you add this or not.