z_sched_lock() has exactly one user in tree which is k_sched_lock(). So combine them to make it easier to follow (or not, since there is no jumping to another file anymore). Signed-off-by: Daniel Leung <daniel.leung@intel.com>
k_heap_array_get