WL#4972: Port Google SMP patch to Solaris

Affects: Server-5.4   —   Status: Complete   —   Priority: Medium

Ported Google SMP patch to Solaris.
In MySQL 5.4.0
In 5.4.0, port the Google SMP patch (see WL#4802) to Solaris.
Code verified by building Solaris 10 x86-64 and Solaris 10 SPARC
binaries and benchmarking; no further LLD needed.