compositor: Verify that the maximum number of outputs is not exceeded
compositor: Verify that the maximum number of outputs is not exceeded

output_id_pool is defined as a uint32_t, thus ffs() provides a range of
1-32 available id numbers.  When the 33rd output is enabled, Weston will
set the ID to (unsigned)(-1) and thus lead to some unexpected
behaviors.

I'm not sure what the best way to handle this error would be since this
is in an initialization routine, but at least let's document the
potential error condition with an assert().

Gnurou/weston,krezovic/weston,Fantu/compositor-spice,Gnurou/weston,sir-murray/weston,giucam/weston,giucam/weston,sir-murray/weston,Fantu/compositor-spice,Fantu/compositor-spice,krezovic/weston