You won't be able to achieve this with pragmas. The texture atlas tool is a separate build step that doesn't involve the compiler.
You can either make the change to reduce your atlas size right now (good idea if you want to do that anyway, so why wait?) or ignore the warning. After all it's reminding you to do what you still need to do.