Use SQL-agnostic method for picking random avatars