Take blob sizes into account when rendering diffs
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Work on this issue](https://contributors.gitlab.com/manage-issue?action=work&projectId=278964&issueIid=16840) - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=16840) </details> <!--IssueSummary end--> When rendering a diff we check if the diff size exceeds a certain threshold. This check however does not take into account what the size is of the entire blob that changed. This means that it's possible to load a large blob into memory (so we can highlight and display it) whenever the diff itself is small. This check should be performed _without_ loading the blob into memory.
issue