mds: use intrusive_ptr to manage Message life-time
3 - minor
Pull request ID:
We're regularly getting bugs relating to messages not getting released. Latest one is #24289.
Use a boost::intrusive_ptr to manage the lifetime.