Updated postgisraster driver with proper accessor rather then accessing protected object.