amstream: Remove sample from update queue when releasing it. Otherwise it will still be reachable from the queue which means use-after-free.