zephyr: shim/src: task: add in_interrupt_context routine
zephyr: shim/src: task: add in_interrupt_context routine

This routine is needed when enable CONFIG_HOST_COMMAND_STATUS.
This routine allows the caller to customize its actions, depending on
whether it is a thread or an ISR.

BUG=b:195342437
BRANCH=none
TEST=zmake testall

Signed-off-by: Tim Lin <38846f7070d5770410e9ef8b439c72e7b53a72c5@ite.corp-partner.google.com>
Change-Id: Id2a948c67de81fbc8ee161e5711cff17b8ac359d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3070941
Reviewed-by: Denis Brockus <6b21e8190fb5e373363fb95271367073a16474ef@chromium.org>

coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec