FASTBuild: fix use-after-move

Since order of parameters' evaluation
is unspecified in C++, it might happen that
we move `val` before we call `substt()`.
1 file changed