[Compiler-v2] Fix parsing of `location` in plan_builder of compiler v2 (#15312)