lcl: skip ';' char from extension when generating a mime-type, use 'jpeg' instead of 'jpg' as the first extension (issue #0024488)

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