gras: simplify PMC registration with new macro