Get a struct definition from `__before_compile__/2` callback

This function is also capable of expanding structs defined under the module being compiled.

That might be the new way to go then based on the changelog.