ASoC: Intel: bdw_rt286: add checks to avoid static analysis warnings