Update hwc_utils.cpp

Fixes error when compiling with -03 flag