hadrian: Move hsc2hs wrapper generation to bindist installation
We must generate the hsc2hs wrapper at bindist installation time since
it must contain --lflag
and --cflag
arguments which depend upon the
installation path.
While in the area I also noticed that several phony rules are not marked as such.
Fixes #24050 (closed).