mythzmserver: fix a possible segfault if no event frames are found

(cherry picked from commit a33c327a1bc7cde68bbb2dfc7648f09b7dc2fdf8)