Implement getImageSize in ol.style.Circle and RegularShape