Only lookup ghcversion.h file in the RTS include-dirs by default.

The code was introduced in 3549c952. It used getPackageIncludePath which name doesn't convey that it looks into all include paths of the preload units too. So this behavior is probably unintentional and it should be ok to change it.

Fix #25106 (closed)

Merge request reports

Loading