select-board.sh: Use sed rather then sh substrings to strip the partition

Because sh substrings with negative indexes don't work everywhere.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>