[refactor] make scratch work with new tilings

Only works for scratch_seq right now.
5 jobs for new-tilings in 5 minutes and 19 seconds (queued for 1 second)
Status Job ID Name Coverage
  Style
failed #45069
integration
checkpatch

00:03:43

passed #45068
integration
repoquality

00:05:19

 
  Build
skipped #45070
make:generic
skipped #45072
knl
make:knl
skipped #45071
make:out-of-tree
 
Name Stage Failure
failed
checkpatch Style
   12fee91..5ce0914  master      -> origin/master
* [new branch] new-tilings -> origin/new-tilings
Checking out f7ec7762 as new-tilings...
Skipping Git submodules setup
$ git ls-files *.c *.h | grep -v -e tests -e benchmarks >> .checkpatch.conf
$ nix run -f "$ARGOPKGS" checkpatch --command checkpatch.pl
src/scratch/scratch.c:33: ERROR: trailing whitespace
src/scratch/scratch_seq.c:245: WARNING: Missing a blank line after declarations
ERROR: Job failed: exit status 1