CLN: derivation of nogil param
This moves the `nogil` parameter of in the template from being hard-coded to being derived from the other parameters.

This changes the parameter value on line 18 (int8/int8) which currently has `nogil=False` which I think is incorrect.