hal: Fix format check in platform_check_capture_codec_backend_cfg

Fix format check to compare complete format (main and sub format)
when deciding whether to switch capture codec backend

Change-Id: Iefe31bc7338ed2e7ba828cfa2205d408dac582d6
2 files changed