latedef check should ignore inner functions when set to "nofunc"

This patch suppresses this warning when the `latedef` option is set to `"nofunc"`:
> Inner functions should be listed at the top of the outer function.

Here’s some sample code that currently triggers this warning when `latedef` is `"nofunc"` or `true`:
```
function foo() {
  bar();
  function bar() {
    console.log('bar');
  }
}
```