core: optimize to the process of parse service declared by init.lua

N/A

Change-Id: Ia93d20798c135d33da9415cc85d20884f5605f99
Signed-off-by: liminghao <liminghao@xiaomi.com>