Use thunks for compat ioctls using struct ifgroupreq.
Reviewed by: brooks, kib
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D29893
(cherry picked from commit 01e9cbc4c56d6eecc52f1e4547d56124243f0dd2)