Issue 24492 fixed - crash when add Volta in endBarLine

http://musescore.org/en/node/24492

MuseScore crash when volta_element is add in the end bar line.