php: Add xsl optional support

Use an override with xsl = true to enable xsl support in php.
php: Add mcrypt optional support

Use an override with mcrypt = true to enable libmcrypt support in php.
The --disable-posix-threadsds mcrypt build option was required by php.