XWIKI-10674: Cannot load CSS files from webjars
* Make sure the resource stream supports mark & reset so that Tika can determine the content type without affecting the stream (because it may have to read a few bytes from the start of the stream and thus needs to be able to reset the stream).

(cherry picked from commit 12083d67cf5994a31c5a405a389cd527a7f478cc)