For small enough, trivially copyable T, take the parameter by-value in
SmallVector::append and SmallVector::insert. Otherwise, when
growing, update the argument appropriately.
Depends on https://reviews.llvm.org/D93779.
Split out from https://reviews.llvm.org/D91837.