scripts: Make is possible to skip the platform

In case the platform is skipped in the script filename, the current
platform string is used when selecting the runner. This makes it
possible to use certain scripts on all platform, e.g. get_version.js

Story-Id: SF-99
Change-Id: 71ec378aa4