[motion-path] Set reference box for all path operations if it exists
<rdar://problem/114577300>
Pull request: https://github.com/WebKit/WebKit/pull/17140
Committed 267566@main (79256d79a14c): <https://commits.webkit.org/267566@main> Reviewed commits have been landed. Closing PR #17140 and removing active labels.