fix symlink to realpath

fix mysql_install_db path when path is symlink.

see also https://github.com/kazuho/p5-test-mysqld/pull/8