you can't remove this macro, it is a handler for the nav_heading setting which allow to set the heading from the GCS
but you can use it in the flight plan with the "set" instruction: http://wiki.paparazziuav.org/wiki/Flight_Plans#Set