build: check if AS supports the '.func' directive