backports of 32ef9e5054ec ("Makefile.debug: re-enable debug info for .S files")