Add spinlock support for x86_64, needed for SMP Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>