top(1): fixed the empty output problem in non-interactive mode (-n, -b) regressed in r336028
PR: 229842
Reported by: Ali Abdallah <aliovx@gmail.com>
Reviewed by: eadler, cy
Approved by: gnn (mentor)
Differential Revision: https://reviews.freebsd.org/D16455