codegen: structure with variable size is not considered for its size calculation

In case of base station info structures containing the
string, size of the structure is passed as zero.
Only fixed length parameter is considered for size calculation.
This is fixed by passing the length of the string in
the structure to calculate the size of the structure.

Co-author: Bestha, Lakshminarayana
4 jobs for !164 with base_station_fix in 3 minutes and 15 seconds (queued for 21 seconds)
merge request