Don't try to generate LoD cache when the source device is empty
Our "empty" devices have a weird extent (qintmax, qintmax, 0, 0),
which makes the LoD generation algorithm crash when it tries to read
from qintmax-tile. So we should just check it.
BUG:408785