Remove old loader code for old PHP versions

Change-Id: Ifc1903350a649670ce4edd4ce76f5daddb83b719