Check if CURLOPT_POSTFIELDS is an array

fix suggested by @csernikmarton

https://github.com/mptre/php-soundcloud/issues/22#issuecomment-46675892