Migrate existing build_events to pipeline_events and remove build_events

This is a follow up from !5525 (merged) which we no longer want build events, because it could totally be replaced by the new pipeline events.