Use "php-config" instead of "php" to get extension_dir path

To create xdebug.ini, current xdebug.sh requires "php" command to get extension_dir. However, we can't always have "php". For example, when building php-fpm only, there's no "php". "php-config" is much better for this purpose, which is installed with all SAPI.