ast - fix dimension checking in astRebinSeq<X>

Check on bounds of input grid should happen only if input array provided.

`lbnd_in` and `ubnd_in` can be NULL if `in` is also NULL. `smf_rebinmap.c` calls astRebinSeqD with NULLs, and results in a segfault as written.