src/bugsnag: simplify requestAnimationFrame polyfilling

Thanks-to: Jacob Marshall