ndk_patches: Replace endpwent() with empty stub