Add .func/.endfunc markers in the arm assembly

This adds information to debug builds.