Make trap_msg array constant as well.
Suggested by: tijl Sponsored by: The FreeBSD Foundation MFC after: 1 week