* Avoid AV when the loaded faied to initiate a valid ImgReader

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47187 4005530d-fff6-0310-9dd1-cebe43e6787f
 * Extract debug-info from real executable when debugging an application folder

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@47188 4005530d-fff6-0310-9dd1-cebe43e6787f