Fixed missing EdmaMgr_wait in S and Z kernels