[EMULATORS] GIC: introduce a per CPU lock

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>