Hundreds of local people are to be trained as security stewards to help keep revellers safe at the Notting Hill Carnival.