lib/ofp-util: Restore the check for minus sign in port number strings.