tccasm: Fix local statics referenced from asms