[Acc] [PATCH 3/3] uadk: fix the null pointer check error