QPlatformHardwareCompositor::Layer::subRect should use floats

Change-Id: If663a051e49b81fea86b8d507fb7783bc4c14ac3