This change makes most places in grid intrinsic sizing code specify operations by sizing phase and sizing constraint, rather than using the sizing function types directly. This should help with readability and debugging, as the intended operation rather than the selector bits are used now. Differential Revision: https://phabricator.services.mozilla.com/D249697