MFC r271320:
Use keys_add_int() where appropriate. No functional changes.
Sponsored by: The FreeBSD Foundation