Fix a bug when compiling a module as an object where the compilation of `reexport/2` directives could result in duplicated predicate linking clauses when using the `as/2` operator to define predicate aliases