builder: properly communicate onbuild trigger information during
subsequent builds.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Merge pull request #8187 from erikh/builder_onbuild_output

builder: properly communicate onbuild trigger information during subsequent builds.