add DATAROOTDIR to build_h.jl, use it in Base.runtests()

fixes #8368 @nalimilan
Ah, interesting. Better move this to `Make.inc`, and make `Base.SYSCONFDIR` relative, so that there's only one place where the default is hardcoded. All this machinery is already complex enough. :-)