MediaSet: create AutoReleaseData only if needed

Change-Id: I4c97044f1243ffae3d64a934a98527263948e76c