[CORE] Introduce vmm_spin_trylock_irqsave() and friends

We would need vmm_spin_trylock_irqsave() and similar functions
for porting drivers from Linux hence this patch.

Signed-off-by: Anup Patel <anup@brainfault.org>