Energy spread tuning of a laser-plasma accelerated electron beam in a magnetic chicane