fix a compilation issue on risp4ml

There will be compilation errors if BUILD_ISP_WITH_RVV is set to OFF (default ON). This CL fixes it.

Change-Id: I09a1d862c3c034c536ae86182ac445cca4e95907
diff --git a/risp4ml/common/image.h b/risp4ml/common/image.h
index dea74ad..ca51610 100644
--- a/risp4ml/common/image.h
+++ b/risp4ml/common/image.h
@@ -17,6 +17,7 @@
 #ifndef RISP4ML_COMMON_IMAGE_H_
 #define RISP4ML_COMMON_IMAGE_H_
 
+#include <stdbool.h>
 #include <stdint.h>
 
 #ifdef __cplusplus
diff --git a/risp4ml/isp_stages/gamma_test.cc b/risp4ml/isp_stages/gamma_test.cc
index f9d549c..0d79669 100644
--- a/risp4ml/isp_stages/gamma_test.cc
+++ b/risp4ml/isp_stages/gamma_test.cc
@@ -128,8 +128,9 @@
                            sRgb_gamma(static_cast<float>(x) /
                                       (1 << kRgbPipelineBpp)));
         float tolerance = ceilf(kToleranceRatio * expected_val);
-        float diff = std::abs(static<float>(expected_val) -
-                              static<float>(image_pixel_val(out_, c, y, x)));
+        float diff =
+            std::abs(static_cast<float>(expected_val) -
+                     static_cast<float>(image_pixel_val(out_, c, y, x)));
         ASSERT_LE(diff, tolerance);
       }
     }