Base: Minor cosmetic changes (#62535)
These are very minor issues I found while auditing the Base files with
JETLS used as an agent during the work on #62526.
They do not change any functionality, and are merely cosmetic changes or
just to help static analysis.
---------
Co-authored-by: Patrick Häcker <152268010+PatrickHaecker@users.noreply.github.com>