Fix __stub_register return code on first call

Postfix increment yields zero as result, which causes ((..)) to return 1.
__stub_register returns the return code of the arithmetic expression
increment, therefore it failed, if STUB_NEXT_INDEX is zero.

Fixed by using prefix increment ((++STUB_NEXT_INDEX)), which always yields
a positive non-zero result in this case.