-Fix [FS#6067]: integer overflows in acceleration code causing either too low acceleration or too large acceleration


git-svn-id: svn://svn.openttd.org@26702 6aa0318a-3be1-0310-93fa-89fd2396df07