gen_ipmi_sensor: Add occ path conversion conditions for one CPU

When the platform has only one CPU, the occ inventory path will be
/system/chassis/motherboard/cpu/occ.
So checkOccPathFixup cannot be successfully converted to the correct
application d-bus path.

Change-Id: Ia48d478be8a1177fe465d119c541eff879b14c64
Signed-off-by: Ben Pai <Ben_Pai@wistron.com>
diff --git a/gen_ipmi_sensor.pl b/gen_ipmi_sensor.pl
index 490cade..a511c0f 100755
--- a/gen_ipmi_sensor.pl
+++ b/gen_ipmi_sensor.pl
@@ -286,6 +286,9 @@
     if ("/system/chassis/motherboard/cpu0/occ" eq $path) {
         return "/org/open_power/control/occ0";
     }
+    if ("/system/chassis/motherboard/cpu/occ" eq $path) {
+        return "/org/open_power/control/occ0";
+    }
     if ("/system/chassis/motherboard/cpu1/occ" eq $path) {
         return "/org/open_power/control/occ1";
     }