Add transitional syntax support for datapack.inc.

I ported this a couple of weeks ago as a side effect of something else.

Note that this will break the build until [bug 6374](https://bugs.alliedmods.net/show_bug.cgi?id=6274) is resolved.