kcov: properly check if we are in an interrupt