[monodoc] Fix compilation break due to 4.0-only API introduced in mono-2-10/b7c904006f12755086d645f7026a93a65c597c6c