[phpbb] Fix preg_replace error from notice to deprecated

Closes #1750