Refactor: pacemaker-execd: clarify pointer arguments
Mark pointer arguments as const where appropriate, and ensure
doxygen blocks use [in] or [in,out] as appropriate.
This is not comprehensive but focuses on functions that have doxygen blocks
and some functions called by them.