[media] media-entity: cache media_device on object removal