core: fix Flags not at the start of the expression warnings with new mimetypes_registry

This is follow up of commit 0000dee0 (erp5_core: update
mimetypes_registry with shared-mime-info_2.4-5 and media-types_10.1.0.,
2024-09-17), after this change, Products.MimetypesRegistry build regular
expressions with fnmatch.translate, which on python2 produces regular
expressions like:

     >>> fnmatch.translate('*.aaa')
     '.*\\.aaa\\Z(?ms)

such expressions cause a warning in python3:

    >>> re.compile('.*\\.aaa\\Z(?ms)')
    ...
    re.error: global flags not at the start of the expression at position 9

Running this on python3 would be incompatible with python2, because
`fnmatch.translate` on python3 generates regular expressions that are not
valid on python2.

To solve this mimetypes_registry.xml was edited by hand to move the
flags at the beginning, replacing for example '.*\\.aaa\\Z(?ms)' by
'(?ms).*\\.aaa\\Z'
17 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.PerformanceTest-Master

00:52:23

failed ERP5.UnitTest-Master

05:39:31

passed SlapOS.Eggs.UnitTest-Master.Python2

00:23:49

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:58

passed Wendelin.UnitTest-Master

01:24:28

failed ERP5.PerformanceTest-Master

00:34:44

failed ERP5.PerformanceTest-Master

00:35:01

passed SlapOS.Eggs.UnitTest-Master.Python2

00:36:56

passed SlapOS.Eggs.UnitTest-Master.Python2

00:27:01

passed SlapOS.Eggs.UnitTest-Master.Python2

00:26:06

passed SlapOS.Eggs.UnitTest-Master.Python2

00:36:57

passed SlapOS.Eggs.UnitTest-Master.Python3

00:26:25

passed SlapOS.Eggs.UnitTest-Master.Python3

00:39:55

passed SlapOS.Eggs.UnitTest-Master.Python3

00:25:52

passed SlapOS.Eggs.UnitTest-Master.Python3

00:35:13

passed Wendelin.UnitTest-Master

00:47:57

passed Wendelin.UnitTest-Master

00:39:22