runq: Hide function prototypes under _KERNEL
And some structure definitions as well.
This header really is not supposed to be included by userland, so should
just error in this case. However, there is one remaining use for it in
a test: Getting the value of RQ_PPQ to ensure a big enough priority
level difference in order to guarantee that a realtime thread preempts
another. This use will soon be obsoleted by guaranteeing that
a realtime thread always preempts another one with lower priority, even
if the priority level is very close.
Reviewed by: kib
MFC after: 1 month
Event: Kitchener-Waterloo Hackathon 202506
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45387
(cherry picked from commit 28b54827f5c10212de752a8e2c4eaf07170d242c)