scripts/gen_image_generic.sh: replace deprecated backticks with $()
This replaces deprecated backticks by more versatile $(...) syntax.
Found with shellcheck.
Signed-off-by: Rosen Penev <[email protected]>
[adjust commit title and message]
Signed-off-by: Adrian Schmutzler <[email protected]>