eal: split spinlock operations to architecture specific