Simplify the texture == NULL branch in the primitives addon.

Those varying variables are reset in the backends' respective reset_state
functions to false.