[PATCH 5.16 009/203] mmc: sh_mmcif: Check for null res pointer