Add more smart pointers to Length.h and Length.cpp
<rdar://problem/129022845>
Pull request: https://github.com/WebKit/WebKit/pull/29329
Committed 279608@main (532ff80625a7): <https://commits.webkit.org/279608@main> Reviewed commits have been landed. Closing PR #29329 and removing active labels.