designer: TDesigner.AddUndoAction check if GetPropInfo returned valid result, otherwise we'll crash.issue #25748,#25757


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