scripts:common: add fallback to gf-versions
This is a fix for issue with id 746-001534: Error: fnginstall-common needs fallback to gf-versions
prepare-common.sh was also modified for consistency.
Check for both gf-versions.sh and sys-versions.sh scripts.