Fix error handle when call elevator_change

The error should be handled only if defined elevator_change method. If kernel doesn't define elevator_change, the error handle will be dead code.