LCL: Make AutoSize work in CoolBar using CalculatePreferredSize

git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@40472 4005530d-fff6-0310-9dd1-cebe43e6787f
LCL, CoolBar: fix error calculating Control's width when BiDiMode = bdLeftToRight

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