[sensor_ctrl] Fix AlertAsyncOn parameter

This needs a bit per alert, but the existing code just had a single
bit, causing a Verilator lint warning when wiring up the top-level.

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv
index d600c5d..bcd57ec 100644
--- a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv
+++ b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl.sv
@@ -6,8 +6,11 @@
 
 `include "prim_assert.sv"
 
-module sensor_ctrl import sensor_ctrl_pkg::*; #(
-  parameter logic AlertAsyncOn = 1'b1
+module sensor_ctrl
+  import sensor_ctrl_pkg::*;
+  import sensor_ctrl_reg_pkg::*;
+#(
+  parameter logic [NumAlerts-1:0] AlertAsyncOn = {NumAlerts{1'b1}}
 ) (
   // Primary module clocks
   input clk_i,
@@ -39,7 +42,6 @@
   ///////////////////////////
   // Register interface
   ///////////////////////////
-  import sensor_ctrl_reg_pkg::*;
   sensor_ctrl_reg2hw_t reg2hw;
   sensor_ctrl_hw2reg_t hw2reg;
 
@@ -105,7 +107,7 @@
     assign alert_req = sw_ack_mode[i] ? reg2hw.alert_state[i].q : valid_alert;
 
     prim_alert_sender #(
-      .AsyncOn(AlertAsyncOn),
+      .AsyncOn(AlertAsyncOn[i]),
       .IsFatal(0)
     ) u_prim_alert_sender (
       .clk_i,
diff --git a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl_pkg.sv b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl_pkg.sv
index 0271086..4c2c3e4 100644
--- a/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl_pkg.sv
+++ b/hw/top_earlgrey/ip/sensor_ctrl/rtl/sensor_ctrl_pkg.sv
@@ -5,9 +5,6 @@
 
 package sensor_ctrl_pkg;
 
-  parameter int NumAlerts   = sensor_ctrl_reg_pkg::NumAlerts;
-  parameter int NumIoRails  = sensor_ctrl_reg_pkg::NumIoRails;
-
   // Ack mode enumerations
   typedef enum logic [1:0] {
     ImmAck,