[ticket/12500] Set a title attribute in user.img()

https://tracker.phpbb.com/browse/PHPBB3-12500