RegisterContextPOSIX.h is poorly named and contains only the declaration of POSIXBreakpointProtocol, which is used for in-process live kernel debugging. It is now relevant only to FreeBSD.
In source/Plugins/Process/Utility/RegisterContext*.h it only served the process of #including other necessary headers as a side-effect. Remove it from them and just include the required headers directly.