Fix build error for surfaceflinger
From commit 00e6cb061608:

hwc: Allow SurfaceFlinger to force composition.
Expose API for SurfaceFlinger to set force composition. The SurfaceFlinger
can set the force composition flag for avoiding skip composition.