Offset can also be of type Arel::Node::Offset.

Check if offset is set, otherwise use the Arel::Node::Offset#expr method to retrieve offset value

Signed-off-by: Jason Franklin <franklin@equinux.com>