swupdate-common: Allow to use sha256 as version
swupdate-common: Allow to use sha256 as version

For images that do not have a version, but could use the
install-if-different flag, the sha256 sum could be used instead.  A
previous regex would allow this because the '@filname' was replaced
with the sha256, no matter what key the value was associated with.

The current regex is updated to support using the placeholder for both
the sha256 and version keys.

Signed-off-by: Colin McAllister <533e30ceefa773dd34bcebce4d14f258bd6a775f@garmin.com>

sbabic/meta-swupdate,sbabic/meta-swupdate