Fix padding problem with ciphers coming from e.g. axis. For PHP 5.3 we
need to fall back to mcrypt as the OPENSSL_ZERO_PADDING is only
available for > PHP 5.4.