ascript: Update the way of ovs version number extraction.

Signed-off-by: Yeqiao Wang <ee07b291@gmail.com>