Scottish First Minister Alex Salmond says the Sunday Herald should not be prosecuted for ignoring a gagging order made in England.