chore: Update babel types and do some light cleanup of babel loader (#82486)
- Did my best to reduce the amount of stuff that's `any`-typed.
- Add comments for bare null or boolean arguments
- The loader was doing `.call(...)` to set `this` all over the place. Pass it as an explicit argument instead.