Refactor the .onion related logic in nsMixedContentBlocker.cpp
We should make our .onion related logic in nsMixedContentBlocker.cpp simpler. We already hit some edge case in #26561 (moved) and should try to avoid future issues that are related to code complexity.