logging: Also add the command prefix to detail and hint messages
This makes the output line up better and allows filtering messages by
command.
Discussion: https://www.postgresql.org/message-id/
ba6d4fac-9e33-91f9-94fb-
1e4c144a48b9@enterprisedb.com