Fix Strict 'pass by reference' warning by not calling array_shift() on the direct result of array_shift()

Strict Standards: Only variables should be passed by reference in
path/ad-code-manager/ad-code-manager.php on line 1003