[Git][ghc/ghc][master] hadrian: only install js files to libdir for wasm/js targets