kernel/freertos: Modify memory error detection code structure. [1/1]

PD#SWPL-72285

Problem:
modify.

Solution:
modify.

Verify:
N/A

Signed-off-by: shijie.xiong <shijie.xiong@amlogic.com>
Change-Id: I5c169998273637d49d610d5a474bdc20e768ecfa
8 files changed