score: _Thread_queue_Enqueue_with_handler()

Add thread parameter to _Thread_queue_Enqueue_with_handler() to avoid
access to global _Thread_Executing.
psxtests/psxfatal0[12]: Update due to API changes
sptests/spintrcritical20: PR2140: New test
smp: Fix warnings