libweston: Compute output protection when head is attached
A head may have its output protection set before it is attached to an output. Recompute the output protection whenever a head is attached to make sure it correctly set in output.
Signed-off-by: Joshua Watt JPEWhacker@gmail.com