Add cast to make room for naming pixel_format_t

Fixes a compiler warning/error about comparing two different enum
types so that the HAL_PIXEL_FORMAT_* enum in system/graphics.h can be
named.

Change-Id: I7acb5f67c66e42a4e556ff53c1e59cee40c7d585
1 file changed