Re-enable unsafe warnings with fewer false alarms.

Only show the warning if the modified file ends in .rs, only match on
`unsafe` as a whole word or `unsafe_` as an attribute name prefix.