runtime: fix list access for last element

Without this patch, you are unable to access the last element of a list.

There should be a test for list access, but the test infrastructure is too complicated for me to mess with. Also, there should probably be a compatibility note somewhere that list access is 1-based (like Erlang) not 0-based (like Django).