initialize a msgport's spinlock.