planning: add ref_s range check to avoid un-necessary error msg.
planning: add ref_s range check to avoid un-necessary error msg.

jinghaomiao/apollo,ApolloAuto/apollo,ApolloAuto/apollo,wanglei828/apollo,ycool/apollo,xiaoxq/apollo,jinghaomiao/apollo,jinghaomiao/apollo,ApolloAuto/apollo,ApolloAuto/apollo,ycool/apollo,jinghaomiao/apollo,ycool/apollo,xiaoxq/apollo,xiaoxq/apollo,wanglei828/apollo,xiaoxq/apollo,xiaoxq/apollo,jinghaomiao/apollo,wanglei828/apollo,ycool/apollo,ApolloAuto/apollo,xiaoxq/apollo,ycool/apollo,wanglei828/apollo,wanglei828/apollo,wanglei828/apollo,jinghaomiao/apollo,ycool/apollo,ApolloAuto/apollo