Enable the use of old HWComposer APi

Change-Id: I931be737b809427c6ce1c9f61200687450b14a8d