Replace FMILibrary patch command with more robust version
Use `git apply` instead of `patch`, due to the following reasons:
* more robust whitespace handling (Windows vs. Linux)
* `git apply` is guaranteed to be available when a user already cloned a repo with git (this is not the case for the `patch` command, which has to be installed separately)
see https://gitlab.eclipse.org/eclipse/openpass/opSimulation/-/merge_requests/110#note_1097849
issue