Drivers have a different approach to handle this value, some check whether primitive_restart when checking restart_index, some don't. In any case it seems cheaper to initialize the value instead of later checking whether it should be used or not.
Closes #4651
@anholt @mareko