Fix core_sleep for targets that have not implemented it yet

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15159 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/thread.c b/firmware/thread.c
index 6ba99dd..1265877 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -606,7 +606,7 @@
         :  : "r"(waking) : "r0", "r1", "r2", "r3");
 }
 #else
-static inline void core_sleep(void)
+static inline void core_sleep(struct thread_entry **waking)
 {
 
 }