Removed assign by reference in path() in system/cms/plugins/theme.php

rtrim() returns a string and the variable $path was being set to said string by reference. This is throws: Runtime Notice - Only variables should be assigned by reference

I'm not sure of the original intent to pass by reference. Loader::get_var doesn't return a reference.