* tprocdef.customprocname: fixed bug introduced in r21069 that was causing result to always contain 'procedure' or 'function' word. These should be included only if pno_proctypeoption flag is given. Resolves #24640.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25126 3ad0048d-3df7-0310-abae-a5850022a9f2