AddToBlockIndex() is always called with locked cs_main
Don't relay alerts to peers before version negotiation

Fixes #1436