Fix Typo in {OS, ThreadsGraphAPI}.js

s/getCpuAvergae/getCpuAverage

Signed-off-by: Nehal J Wani <nehaljw.kkd1@gmail.com>
Signed-off-by: Pekka Enberg <penberg@iki.fi>