Convert SMASH `import`s to AMD `define`s.