Exclude assembly files that are used as headers

This avoids some warnings about object files not containing any
symbols.