implement Deref for Box.

fixes #18624
auto merge of #19023 : sampsonwong/rust/boxderef, r=Gankro

fixes #18624