ast - fix dimension checking in astRebinSeq<X>

Check on bounds of input grid should happen only if input array
provided.
Merge pull request #36 from Starlink/astrebinseq-fix

ast - fix dimension checking in astRebinSeq<X>