flexcdc: better parse $activeDB, move mvloglist check after schema determination

This fixes table references without schema in `ALTER TABLE`.