Exclude assembly files that are used as headers

This avoids some warnings about object files not containing any
symbols.
Merge pull request #408 from mstorsjo/exclude-asm-headers

Exclude assembly files that are used as headers