[GPU] Set ExecutionFlags::SHAPE_CHANGED to true when subgraph input changes (#31451)
### Details:
- Set `ExecutionFlags::SHAPE_CHANGED` depending on changes of the input
of `shape_of`.
### Issues:
- In `update_shape()`, if a node is a subgraph of `shape_of` and
dependencies of that node are all static shape,
`ExecutionFlags::SHAPE_CHANGED` is set to `false`.
- After that, if the input of `shape_of` was changed, then
`ExecutionFlags::SHAPE_CHANGED` for that node should be set to `true`
accordingly.
- If that doesn't happen, a problem occurs because
`update_dispatch_data_func()` will never be called even once if the impl
used by that node is in ocl v2, .
- This time, it's `ScatterNDUpdate` that the problem occurred in.
### Graphs:
<img width="1057" height="744" alt="image"
src="https://github.com/user-attachments/assets/1df94125-dcb6-4a6a-ad11-2c21db3ce3f3"
/>
### Related to:
- [primitive_inst.cpp :
L292-303](https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/intel_gpu/src/graph/primitive_inst.cpp#L292#L303)
: `input_shape_changed` set to be `false` in `update_shape()`.
- [primitive_inst.cpp :
L359](https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/intel_gpu/src/graph/primitive_inst.cpp#L359)
: `ExecutionFlags::SHAPE_CHANGED` is set to be `false` in
`update_shape()`.
-
[primitive_ocl_base.hpp](https://github.com/openvinotoolkit/openvino/blob/master/src/plugins/intel_gpu/src/graph/impls/ocl_v2/primitive_ocl_base.hpp#L199#L207)
: `update_stages_flags()`.
### Reproduce:
> ./benchmark_app -t 5 -d GPU -hint none -m
/nfs/inn/proj/vdp/vdp_tests/models/internal/tf/1.15.2/faster_rcnn_resnet50_lowproposals_coco/faster_rcnn_resnet50_lowproposals_coco.pb
-data_shape [2,600,600,3] -shape [2,-1,-1,3]
### Checklist:
- [x] Is it a proper fix? (Not a workaround)
- [x] Did you include test case for this fix, if necessary?
- [x] Did you review existing test that can be extended to covert this
scenario?
### Tickets:
- 169416
- 169447