Correct a typo in DeviceRgbCS_getRgbBuffer

Fixes #2982.