ShaderGen: Use u8 as uid storage base type. Fixes an off-by-one error introduced in revision bdc28106eed0 that caused some lighting issues.