main: Allow semver prerel via linker flags.
main: Allow semver prerel via linker flags.

This changes the appPreRelease definition from a constant to a variable
so it can be set via the linker when creating release candidates.

jrick/dcrd,decred/dcrd,decred/dcrd,jrick/dcrd