Add init_priority to generated code

Fix a issue(crash) on `FEATURE_SENSORS_CACHE` is enabled.
As below backtrace:
```
...
4  0x75ff9a34 in initSensorMatches () at ../../../../../../workspace/sources/phosphor-ipmi-host/sensorhandler.cpp:153
5  0x75f887a8 in register_netfn_sen_functions () at ../../../../../../workspace/sources/phosphor-ipmi-host/sensorhandler.cpp:1561
...
```

This issue is caused by `ipmi::sensor::sensors` is not initialized when
register_netfn_sen_functions is called.
Add init_priority to generated code to fix this issue.

Tested: Build okay and no crash.

Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
Change-Id: Ic5cc96206f3df9fafa10bbfb88c0bb4459749575
diff --git a/scripts/inventorysensor.mako.cpp b/scripts/inventorysensor.mako.cpp
index 68af3e8..be3bb1e 100644
--- a/scripts/inventorysensor.mako.cpp
+++ b/scripts/inventorysensor.mako.cpp
@@ -6,7 +6,7 @@
 #include <ipmid/types.hpp>
 using namespace ipmi::sensor;
 
-extern const InvObjectIDMap invSensors = {
+extern const InvObjectIDMap __attribute__((init_priority(101))) invSensors = {
 % for key in sensorDict.keys():
    % if key:
 {"${key}",
@@ -24,4 +24,3 @@
    % endif
 % endfor
 };
-