mysql: modernize style, add compilation comment
mariadb: port changes from mysql formula and modernize style
percona-server: port changes from mysql formula and modernize style
mysql/percona: remove readline cruft

It does not appear to be possible to make mysql or percona link against
GNU readline anymore, since mysql stopped bundling it.