[Acc] [PATCH 03/12] uadk_engine: fix return value checks and async error handling