BUG: subplots with layout kw may show unnecessary warning
Related to #8877 and #9278. There is remaining case which shows unnecessary warning.

Occurrence condition:
- `subplots=True`.
- `layout` is specified larger than the number of required subplot axes.

In this case, `legend` is called against blank axes and results in warning.
