netcdf: Add portablexdr as a dependency

Fixes #545.

Signed-off-by: Timothy Gu <timothygu99@gmail.com>