Update post-gallery.php

Plugin output appeared at the top of posts, ignoring shortcode position. Fixed.