plic, aplic: handle all pending interrupts for hart
Otherwise, we are going to take another interrupt-induced exception
immediately upon execution of the sret instruction -- overall wasting
cycles.
Reviewed by: br
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47134