[tcp] apply ot-config compile options (#7048)
[tcp] apply ot-config compile options (#7048)

tcplp uses stdio.h which, for some libc implementations, can depend on
Kconfig defines.

These Kconfig defines can be included through compile options in
ot-config.

Link with ot-config to get the compile options.

Signed-off-by: Sebastian Bøe <edee888afd63e94916688495334700803eba20a0@nordicsemi.no>
srickardti/openthread,openthread/openthread,srickardti/openthread,abtink/openthread,srickardti/openthread,srickardti/openthread,jwhui/openthread,openthread/openthread,abtink/openthread,openthread/openthread,jwhui/openthread,jwhui/openthread,abtink/openthread,jwhui/openthread,abtink/openthread,openthread/openthread