Imo it's simple, Oda wanted to use the flashback to set up Imu, and to a lesser extent the Holy Knights. Loki connects a lot of stuff together, but going into detail about his life after Rocks died(we skip 25ish years after this) or his pirate career really breaks the flow of how Oda wanted the story to go, into Imu's return to Elbaf and giving perspective on legacy characters like Shanks, Teach, Draog-on and the like. We would have to wait for Imu to exit the picture for more exposition on Loki and for him to interact with the Strawhats more. They can't all chill together too much
I just think it's unfortunate, since Oda wanted to stall until 1200 anyway, we could have dropped the Gunkimu plotline entirely and gotten 5 extra chapters building up Harald's time as a HK and Loki's life as a young adult, as opposed to settling the post GV part of the flashback in only around 3 chapters