I understand it may be hard to teach the GIB the importance of doing RKCB for diamonds here when lacking a third round control ask, but bidding 5NT seems futile, not like the ♣K is likely to help unless it was thinking of bidding 6NT which I doubt.
This one is just painful. Partner shows club support and a non-minimum and South doesn't even try for slam?
Both hands, I simply launched into RKCB (for diamonds on the former) which enabled easy grands to be bid (though OK 6C on the latter might not be 100% cold opposite 1KC, but should be decent)