Attempt to automatically tag tilesets.

This adds an additional scan step for bgVersion<=400 (GM5), which steps through each room and each tile, and tags the background used for that tile with the "USE_AS_TILESET" flag. Tested and confirmed working on Iji.