Don't log incomplete startup packet if it's empty
This will stop logging cases where, for example, a monitor opens a
connection and immediately closes it. If the packet contains any data an
incomplete packet will still be logged.
Author: Tom Lane
Discussion: https://postgr.es/m/
a1379a72-2958-1ed0-ef51-
09a21219b155@2ndQuadrant.com