Fix for Mantis #26615.

htypechk.pas, tcallcandidates:
  * collect_overloads_in_struct: we need to check the deftyp of the extended def for record- or objectdef, not the deftyp of the helper which will always be objectdef anyway.

+ added test

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28572 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified keymap unit

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28573 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified timer, fixed keymap to build (oops...)

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