[Static Runtime] Fix resize_output_check warning coming from prim::VarConcat (#64765)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/64765
Test Plan: Tested the fix with BR v1 model predictor-replayer setup.
Reviewed By: ajyu
Differential Revision: D30846506
fbshipit-source-id: 3ef3c93f11285c7cd1e2b188ca298a7ab4fba579