OpenXR: Break out end frame handling to it's own file since it's so big.