kern_malloc: remove '.' and '\n' from KASSERT/panic
KASSERT and panic calls should not have a '.' at the end of the message
and do not need '\n'. Remove these.
No functional changes.
Reported by: markj (during review of D45812)
Sponsored by: The FreeBSD Foundation
Reviewed by: markj, kib
Differential Revision: https://reviews.freebsd.org/D46093
(cherry picked from commit c0df224ba5b1fe6257dd197f8298bf59fb6e520f)