The commit 64887c80a2 declared rna_enum_grease_pencil_selectmode_items as static, when it should have not been static.
64887c80a2