Report only top-most deprecated module import

Fixes issue 13582

https://issues.dlang.org/show_bug.cgi?id=13582
And, if you think the `package.d` case is important, please add a test case for that.