MDL-38373 Use correct PEAR->loadExtension()

Current use is wrong (static) and leads to strict standards notice.