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

fixes #8368 @nalimilan
relative to what, `bindir`?