AROS: corrected type of TDiskObject.do_type

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@29288 3ad0048d-3df7-0310-abae-a5850022a9f2
* do not issue a hint about uninitialized var-parameters, resolves #25916

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