Updated contrib/extensions to not run against replicas

Prevents errors like `cannot execute CREATE EXTENSION in a read-only transaction`