AESinkPULSE: Fix Coverity suggestions
AE: Fix some coverity warnings
AESinkProfiler: Fix coverity issue and implement Drain()