fix(fvp): avoid the Scunthorpe problem when looking for "tftf|spm"

A simplistic grep looking for "tftf|spm" will match substrings of the
regular expression (eg "rstspmin" will match). As a result, runs that
are not meant to have the shutdown_on_eot parameter run with it set,
resulting in a hanging successful run since cleanup is skipped.  Tell
grep to only match full words to prevent this.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Change-Id: I663530845b57b1caeb133584e2772d0480a66131
diff --git a/model/fvp_common.sh b/model/fvp_common.sh
index 9a4eb70..37c55e7 100644
--- a/model/fvp_common.sh
+++ b/model/fvp_common.sh
@@ -121,7 +121,7 @@
 # runs, so that FVP trace log was properly dumped (and parsed by LAVA).
 # Don't use it for other OpenCI runs, as it may lead to race condition
 # with LAVA's capturing of FVP output.
-if echo "$RUN_CONFIG" | grep -Eiq 'tftf|spm'; then
+if echo "$RUN_CONFIG" | grep -Eiqw 'tftf|spm'; then
     is_arm_env=0
     if is_arm_jenkins_env; then
         is_arm_env=1