fix error: 'HAL_PIXEL_FORMAT' was not declared in this scope

Change-Id: I32dd8b1e245d0238f7fcd25b7cbf799f94eda9f9