tests: interrupt: fix coverity issue of newly added testcases

Should not use -1 as an input parameter for unsigned int. Use zero
instead of -1 as invaild interrupt number to fix coverity warning.

Fixes #35146
CID: 235994

Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
diff --git a/tests/kernel/interrupt/src/interrupt_offload.c b/tests/kernel/interrupt/src/interrupt_offload.c
index d00a616..56074b1 100644
--- a/tests/kernel/interrupt/src/interrupt_offload.c
+++ b/tests/kernel/interrupt/src/interrupt_offload.c
@@ -88,8 +88,8 @@
 #define TRIGGER_IRQ_DYN_LINE 5
 
 #else
-#define TEST_IRQ_DYN_LINE -1
-#define TRIGGER_IRQ_DYN_LINE -1
+#define TEST_IRQ_DYN_LINE 0
+#define TRIGGER_IRQ_DYN_LINE 0
 #endif
 
 #endif
@@ -97,7 +97,7 @@
 static void init_dyn_interrupt(void)
 {
 	/* If we cannot get a dynamic interrupt, skip test. */
-	if (TEST_IRQ_DYN_LINE == -1) {
+	if (TEST_IRQ_DYN_LINE == 0) {
 		ztest_test_skip();
 	}