hal: fix return value checks while getting HDMI info

Fix error check conditions in functions related to
retrieval of HDMI sink capabilities.

CRs-Fixed: 2574040
Change-Id: Ia4cdf2fbb35601858de456a0da70d967d63375bb
2 files changed