[linker] Allow overriding MarkCustomAttribute and expose the MarkDefaultConstructor feature to subclasses