Adds the invert group optin to the hook modifier. Differential Revision: https://developer.blender.org/D6817
object_data_add