sim:epiphany:esim: Don't take lock on SCR writes to local core.

If the target special core register belongs to local core we can do the write
immediately and don't need to acquire the lock.

This avoids the deadlock that would arise if the write-slot was not empty,
and you tried to write to a local SCR via a memory access.