FindMatlab: Remove erroneous duplicate code

This was left accidentally when resolving merge conflicts between
previous changes.

Fixes: #18221
11 jobs for issues/FindMatlab/18221-FindMatlab-CMAKE_CL_64
Status Job ID Name Coverage
  External
passed ghostflow-branch-check-master

passed ghostflow-commit-check

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager

passed ghostflow-stager