cleanup: remove several redundant conditions found by cppcheck (dotnet/coreclr#27001)
* src/utilcode/ilformatter.cpp: remove redundant condition
[src/utilcode/ilformatter.cpp:274] -> [src/utilcode/ilformatter.cpp:278]: (warning) Identical inner 'if' condition is always true.
[src/utilcode/ilformatter.cpp:285] -> [src/utilcode/ilformatter.cpp:287]: (warning) Identical inner 'if' condition is always true.
* src/utilcode/regutil.cpp: remove redundant condition
[src/utilcode/regutil.cpp:57] -> [src/utilcode/regutil.cpp:64]: (style) The if condition is the same as the previous if condition
* src/utilcode/loaderheap.cpp: remove redundant condition
[src/utilcode/loaderheap.cpp:860] -> [src/utilcode/loaderheap.cpp:865]: (style) The if condition is the same as the previous if condition
* src/pal/src/synchobj/mutex.cpp: remove redundant condition
[src/pal/src/synchobj/mutex.cpp:1273] -> [src/pal/src/synchobj/mutex.cpp:1298]: (style) The if condition is the same as the previous if condition
* src/utilcode/ilformatter.cpp: add closing bracket back
(occasionaely deleted in previous commit)
Commit migrated from https://github.com/dotnet/coreclr/commit/
c44fd8cce65fb77a718459d0c9af983d4e325788