arm: Add a missing endfunc macro call

Signed-off-by: Martin Storsjö <martin@martin.st>
arm: Use the matching endfunc macro instead of the assembler directive directly

Signed-off-by: Martin Storsjö <martin@martin.st>