hwspinlock/core: use global ID to register hwspinlocks on multiple de…