Merge "media: Protect access to writer after free in stagefright recorder."