Fix C++ compiler errors in ui_birth.c.

Add required casts.
Fix
Revert "Fix"

This reverts commit 6085ab281f6318d5b4c9319ea0863ec9b24e294b.
Fix C++ compiler errors in ui_menu.c.

Make type more specific.
Add required cast.
Fix C++ compiler errors - MessageType

Convert variables to MessageType.
Fix C++ compiler errors in xtra3.c.

Add required casts.
Fix C++ compiler error in z-form.c.

Add required cast.
Fix C++ compiler error in z-msg.c.

Add required cast.
Fix C++ compiler error in z-quark.c.

Add required cast.