[PATCH v3 1/2] sunxi: reorganize mctl_mem_matches_* functions