Removed duplicate assignment of ctx->executing under CONFIG_SMF_ANCESTOR_SUPPORT. Also replaced #ifndef with #ifdef to align with the positive logic used elsewhere in this file. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>