Fix unbound variable reference

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Accept TA_BUILD_DIR in kernel build script

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>