Custom GNU install dirs specified at configure time may be absolute paths, in which case appending to the install prefix is not correct. Instead we can use the already available CMAKE_INSTALL_FULL_* variables, which are correctly precomputed absolute paths.
This is helpful in Nixpkgs, where we specify an absolute CMAKE_INSTALL_INCLUDEDIR by default. Also, this may resolve the issue that prompted https://reviews.llvm.org/D111111