transforms/flattenRequireJs: When adding a require call at the end of a ...

...data-main included file with only a define call, use the async require version. Avoids this error: http://requirejs.org/docs/errors.html#notloaded