hwcomposer: use old API definitions