htsp server: fix NULL dereference in addDvrEntry