fs/compat: fix lookup_dcookie() parameter handling