Project templates: fix compilation after removing deprecated methods.

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@45792 4005530d-fff6-0310-9dd1-cebe43e6787f
Xml resource example: fix compilation due to some old change in TUnitResourcefileFormat. Don't know if this example works.

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