This takes 2 extra steps and is technically not an answer to the question, but should do the job in no time + it's easy. All you need is a terminal in your repo:
checkout the commit by its hash in your terminal
git log -> this should show the commit message
ctrl + c the message and search in gitlab by the message