tests: kernel: spinlock: move to new ztest API

Move test to use new ztest API.

Signed-off-by: Guo Lixin <lixinx.guo@intel.com>
3 files changed