Make 'struct Light' to support std140


Properties' offsets are not properly set for std140 standard.
And they are not compatible to what the host machine supposes.
Since the layout can be translated differently according to the
graphics backend, it's safe to add paddings.

Fixes: QTBUG-110128
Pick-to: 6.5
Change-Id: Ib0748f5b0476543ecd2e42252c434bcf4b371786
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
commitae363c23a48b817edb4a46e067437262edb7fa86
parent9a21c69f67110e84c01645564cecce7099600152
authorInho Lee <inho.lee@qt.io>
committerInho Lee <inho.lee@qt.io>
commit timeThu, 20 Apr 2023 07:33:33 +0200