Make external interrupt updates thread-safe (fixes loss of audio in Super Mario Sunshine, and perhaps others, on lower-end systems.)

Signed-off-by: fkane <fkane@sundog-soft.com>