buildsystem: Force *.S extension for asm files

Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>