videolibrary: fix crash when entering an empty tvshow

This fixes a crash in the videolibrary when entering a tvshow with no seasons/episodes and with "Show parent folder item" disabled which results in an empty list and an out of bounds array access on line 293. Thanks to @kib for reporting it.