Fix mysql_setpermission bug (#1976224)
This patch fixes bug in mysql_setpermission perl script
by adding conditionally port information to connections parameters.
More information about this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1976224
This bug has been fixed in upstream.
Patch can be removed when new version with fix is released.
https://github.com/MariaDB/server/pull/1896