avoid duplicate definitions of target when `nuttx_add_extra_library` is called between different models at the same time Signed-off-by: xuxin19 <xuxin19@xiaomi.com>