Update exception message for some macro

Update exception message for def-aggregate-plan-fn and def-collect-plan-fn.