caf: hwcomposer: build with gcc

Summary: Workaround tricky inline functions

Test Plan: verified

Reviewers: jriordan001, randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D657