hwcomposer: fix hpd detection issue