[CORE] Explicitly check for Orphan context in sleepable locks

Signed-off-by: Anup Patel <anup@brainfault.org>