volt: Move module top level check to semantic phase.