BLD: fix a number of Bento build warnings.

c_misc was first added to includes for all modules, not just when needed.

Also update .gitignore for missing generated _ellip_harm_2.h file.

[ci skip]
Merge pull request #4205 from rgommers/fix-cmisc-warnings

BLD: fix a number of Bento build warnings.