Move enable_shared_from_this inheritance to MediaObject

Change-Id: I4ccac37582ec0046ebec0a6bfc4cb84387964bee