Reformat str_replace in roots_get_avatar to better match

When enabling plugins that also hook get_avatar, such as Buddypress, roots_get_avatar string replace will not match properly on comments in blog posts from "members" of the plugin. This causes some comments to have the class modifications and some do not. 

This pull request better formats the str_replace function quoting so that it matches more reliably.