Remove useless const casts from WebAudio and make Platform API methods pure virtuals.

Reviewed by: Nick Diego Yamane