Fix parallel bug for XRD interface


git-svn-id: svn://svn.code.sf.net/p/cp2k/code/trunk@13572 bac0169d-1eea-4375-b5f6-f89d2ced9994
Fix memory leak, OpenMP parallel statement, KG regtest


git-svn-id: svn://svn.code.sf.net/p/cp2k/code/trunk@13573 bac0169d-1eea-4375-b5f6-f89d2ced9994