Fix #33916: 2.65a regression: particles duplicating objects with halo - crash

allow_render_dupli_instance used to pass zero-based index to give_current_material
which is wrong.

Before rev53332 it wasn't so much visible because give_current_material used
to clamp index internally. But that was wrong behavior here anyway, and why
nobody noticed this for so long? :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@53893 954f8c5b-7b00-dc11-b283-0030488c597c