src: remove unnecessary else in base_object-inl.h
This commit removes two unnecessary else statements in base_object-inl.h. It also tries to make the if statements consistent with regards to braces.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines