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

fixes #8368 @nalimilan
Is this really needed? `$(datarootdir)` should always been set when calling `make`: if it's not overriden, it has a default value equivalent to what you are using.