fix ArrayList_Shift for args (al, 0, -1)

As a result, this should fix #1051.