roots_title() returns a value

Instead of printing the value directly, now the function returns a
value which can printed with echo (like it is in page-header.php) or
stored in a $var when needed.

I posted this issue on Discourse and accomplished it with the help of Foxaii.