spiv: image_list: Fix order on img_prev()

Now we go backwards in directories too.

Signed-off-by: Cyril Hrubis <metan@ucw.cz>