GetSpellInfo exists before addons are loaded. You don't need to wait for any events.
Tested the following and it prints Mortal Strike as expected:
TestGSI.toc
Code:
## Interface: 20400
TestGSI.lua
TestGSI.lua
Code:
ChatFrame1:AddMessage(GetSpellInfo(12294))