readtag.c: replace obsolete bzero(), fix undefined behavior

bzero() is obsolete, use memset() instead
can't compare char* with string literal directly, assuming that the
check was to see if there's a newline at the beginning of the format
string