[PATCH v2 1/6] amstream: Decrement "sample_refs" only when the object is being released.