You get this by gliding all the way from the roof of the castle to a small platform in the distance. There's a breakable wall you have to go through to reach it. In the remaster they've made it less obvious that the wall is breakable, so here's a video on where it is, at the far end of the castle near to the boss battle door. Charge through the wall to break it.