x86/paravirt: add hooks for spinlock operations