fix non-x86 build failure in pmdp_get_and_clear