[polly] Fix cppcheck SA comment reported in #91235 (#93505)

This patch moves the unreachable assert before return statement.
Fixes #91235.

GitOrigin-RevId: d33864d5d8ae55ff1c86510dc475fd9dd72d61c7
1 file changed