Effects of correlations between particle longitudinal positions and transverse plane on bunch length measurement: A case study on GBS electron LINAC at ELI-NP