CameraService: Bounds-check argument to playSound

To ensure no out-of-bound array access is possible.

Test: Sounds still play when using API1
Bug: 181198806
Change-Id: Ibe42ce9addb70752d84785d50e1fd106ec84774c
1 file changed