That is a C++ file, there is nothing to exchange.
You need to compile Kodi for OSMC with this fix included.
I see that this fix is included in Kodi 14.2 though so you do not have to wait for Kodi 15.
Edit: Tthis fix is also included in the Kodi branch we use, so it will be fixed on next mediacenter update.