[PATCH v7 09/11] entry: Add has_syscall_work() helper