amd64: Mark the trapframe as initialized in trap()
Otherwise KASAN may generate false positives if the trapframe was
written into a poisoned region of the stack.
Reported by: pho
Sponsored by: The FreeBSD Foundation
(cherry picked from commit f08f0ae5247ab31de58bda0817e74ccc1a3a5e95)