MythCommon: Move some code to where it should be

Fixes Coverity ID 1026181 Structurally dead code (genuine bug).