Move tablesNextToCode field into Platform

tablesNextToCode is a platform setting and doesn't belong into DynFlags
(#17957). Doing this is also a prerequisite to fix #14335 where we deal
with two platforms (target and host) that may have different platform
settings.
24 jobs for master in 3 minutes and 3 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Lint
passed #372985
lint
lint-linters

00:01:46

failed #372988
lint allowed to fail
lint-submods

00:00:12

failed #372989
lint
lint-submods-branch

00:00:13

passed #372986
lint
lint-testsuite

00:01:48

passed #372987
lint
typecheck-testsuite

00:00:15

 
  Quick Build
skipped #372990
x86_64-linux
hadrian-ghc-in-ghci
 
  Build
skipped #372991
x86_64-linux
validate-x86_64-linux-deb9-hadrian
 
  Full Build
skipped #372994
aarch64-linux allowed to fail
validate-aarch64-linux-deb9
skipped #372995
armv7-linux allowed to fail
validate-armv7-linux-deb9
skipped #372996
x86_64-linux
validate-i386-linux-deb9
skipped #373003
new-x86_64-windows test allowed to fail
validate-i386-windows
skipped #372993
x86_64-darwin
validate-x86_64-darwin
skipped #372997
x86_64-linux
validate-x86_64-linux-deb9-debug
skipped #372999
x86_64-linux
validate-x86_64-linux-deb9-dwarf
skipped #372998
x86_64-linux
validate-x86_64-linux-deb9-integer-simple
skipped #372992
x86_64-linux
validate-x86_64-linux-deb9-unreg-hadrian
skipped #373000
x86_64-linux
validate-x86_64-linux-fedora27
skipped #373002
new-x86_64-windows test allowed to fail
validate-x86_64-windows
skipped #373001
new-x86_64-windows test allowed to fail
validate-x86_64-windows-hadrian
 
  Cleanup
passed #373004
x86_64-darwin
cleanup-darwin

00:00:46

 
  Packaging
skipped #373005
x86_64-linux allowed to fail
doc-tarball
 
  Testing
skipped #373006
x86_64-linux allowed to fail manual
hackage
skipped #373007
x86_64-linux
perf-nofib
 
  Deploy
skipped #373008
x86_64-linux allowed to fail
pages
 
Name Stage Failure
failed
lint-submods Lint
Entering 'libraries/unix'
Entering 'libraries/xhtml'
Entering 'nofib'
Entering 'utils/haddock'
Entering 'utils/hsc2hs'
Authenticating with credentials from job payload (GitLab Registry)
$ git fetch "$CI_MERGE_REQUEST_PROJECT_URL" $CI_MERGE_REQUEST_TARGET_BRANCH_NAME
fatal: No path specified. See 'man git-pull' for valid url syntax
ERROR: Job failed: exit code 1
failed
lint-submods-branch Lint
Submodule update(s) detected in 9f96bc127d6231b5e76bbab442244eb303b08867:
libraries/ghc-bignum/gmp/gmp-tarballs => ff5a56f169a8c6564f469008b21ad8ec0bc9d49d
OK
Submodule update(s) detected in 40fa237e1daab7a76b9871bb6c50b953a1addf23:
utils/haddock => 02a1def8d147da88a0433726590f8586f486c760
OK
Submodule update(s) detected in 7faa4509cd7dbc6e2f873e4997e8888bd6ec3507:
*FAIL* commit message does not contain magic 'submodule' word
ERROR: Job failed: exit code 1