Add support for move operations on hazptr-holder. Other optimizations.