target-xtensa: add attributes to helper functions