So, just a thought: Both Shanks and Roger have sabers of the highest quality Meito grade, right? And we know Xebec also favored the saber as well.
Now, what if Gryphon was Xebec's sword and Roger took it off his corpse, and then later gave it to Shanks?