Fix getting the Logtalk user directory and the Logtalk startup directory for Quintus Prolog