openat: use C99 decls after stmts * lib/openat.c (rpl_openat, openat_permissive): Refactor to put decls closer to where they’re used.