ActiveAE: fix loop for leftover bytes after having fixed compiler warning