sh: Overhaul spinlocks and rwlocks for SH-4A SMP.