Added cast to perf enums in os_monitoring.c.
Added cast to perf enums in os_monitoring.c.

Change-Id: Ibc0c1bed620af820489e83394e344bfd9ba6137f

01org/intel-cmt-cat,01org/intel-cmt-cat,01org/intel-cmt-cat