tests: kernel: device: move to new ztest API

Move tests/kernel/device to new ztest API.

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