event/message: Don't allow setting invalid group ids
They are optional on STREAM_START messages/events but if available should have at least a valid value.
For STREAM_GROUP_DONE events don't allow creating it with an invalid group id as this does not make any sense.