Report only top-most deprecated module import

Fixes issue 13582

https://issues.dlang.org/show_bug.cgi?id=13582
Please use `mod->isRoot()` to only check this for root modules and `mod->md && mod-> md->isdeprected` to skip this warning for deprecated root modules.