svc: cleaned up function_wrappers, updated various SVCs to make use of pointer arguments
arm: added option to prepare CPU core (while mid-instruction) for thread reschedule
kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule
svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support