tools/build_docs.py: Look in stderr for error messages

As the WARNING/ERROR messages are displayed in the
stderr. Also, ignore some known/not-build-related
messages.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>