Return early and decline analysis when linting within unsafe functions

I think this matches the intent of the issue, I'm a rust/servo novice; any suggestions for improvements are welcome. Thanks!