avcodec/rv40: Fix runtime error: left shift of negative value