[GPU] Fix coverity issue to prevent overflow (#31673)
### Details:
- Fix coverity issue by typecasting to prevent overflow.
- `desc->classes`, `desc->coords`, `desc->mask_size` are `uint32_t`.
- If there is a case where `features` is `int64_t`, it can be
overflowing.
### Tickets:
- 171914