Move helper macros in admin.c to the top

1 job for ph3-admin-refactor-OK in 45 seconds (queued for 51 seconds)