kernel: api: fix doxygen group ending

Extra comments after @} were showing up in the next section details.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 file changed