Prerequisite patch to [[ https://reviews.freebsd.org/D14599 | D14599 ]].
interrupts_enabled() simply returns a bool value of whether or not
the interrupt enable flag is currently set for a cpu.
Currently I've only added amd64 and i386, but I will update this patch
with other architectures as well.