ole2: fixed an issue with extremely long names
bb#11028 - fixed a deadlock issue with fanotify and logg_mutex