TS-1683: channel_stats doesn't compile under fBSD

We use the *right* include file this time around.
We also make a predesence for using ink_platform.h in a plugin.

This file should be installed to make plugin developers lives easier.