netatalk: fix compiling with librpc (based on patch from #8858)