This is an automated migration of most SKIPIF extension_loaded checks.
We apply type juggling for other types than array.