redefine pprinf/Dprinf

pprintf() writes to testpipe if it's set, otherwise writes to stdout.
Dprintf() calls pprinf() if verbose is set.

Signed-off-by: Naoya Horiguchi <nao.horiguchi@gmail.com>