dbparser: Wrap LogMessage into a PDBInput properly

Instead of creating a local PDBInput structure from within the
PDB_INPUT_MESSAGE macro, force using an existing variable instead, so
the code is correctly compiled even with -O3.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>