[GHC] #7779: building GHC overwrites the installed package database if GHC_PACKAGE_PATH is set