Fix sections to map
Fix sections to map

As highlighted by 70e964090e4775c2993b5c0b05b4f931a73acea8@126.com, MMU mapping functions tee_mmu_is_mapped()
and tee_mmu_map_io() wrongly compute the number of sections to check / map.

This patch checks / maps only the relevant sections.

Signed-off-by: Pascal Brand <0b55292d2562685bad4ce52d64f802e8f1cd299e@st.com>
Reviewed-by: Jens Wiklander <7706914404370d7502c27a0eff493dcf491feb51@linaro.org>
Reviewed-by: SkyZhang <70e964090e4775c2993b5c0b05b4f931a73acea8@126.com>
Tested-by: Pascal Brand <0b55292d2562685bad4ce52d64f802e8f1cd299e@linaro.org> (STM platform)

BreezeWu/optee_os,BreezeWu/optee_os,matt2048/optee_os,cedric-chaumont-st-dev/optee_os,jamescfkung/optee_os,Microsoft/optee_os,matt2048/optee_os,BreezeWu/optee_os,chshxi1989/optee_os,Microsoft/optee_os,pascal-brand-st-dev/optee_os,cedric-chaumont-st-dev/optee_os,Microsoft/optee_os,chshxi1989/optee_os,Microsoft/optee_os,cedric-chaumont-st-dev/optee_os,chshxi1989/optee_os,jamescfkung/optee_os,cedric-chaumont-st-dev/optee_os,jamescfkung/optee_os,chshxi1989/optee_os,jamescfkung/optee_os,BreezeWu/optee_os,chshxi1989/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,pascal-brand-st-dev/optee_os,Microsoft/optee_os,matt2048/optee_os,jamescfkung/optee_os,matt2048/optee_os,pascal-brand-st-dev/optee_os,BreezeWu/optee_os