I don't think his corpse is necessarily beneath Hyrule Castle. The trailer shows some kind of temple entrance in an area that does not appear to be under the castle. It is possible that this is the resting place of Ganondorfs Mummified remains rather than the Castle itself.
In the concept art...