Update references to JRegistry for libraries folder

Updates references to no longer present `JRegistry` to the namespaced `\Joomla\Registry\Registry`